Utility class for inflating a compressed buffer.
More...
#include <XrdClZipCache.hh>
Utility class for inflating a compressed buffer.
Definition at line 54 of file XrdClZipCache.hh.
◆ buffer_t
◆ ZipCache()
XrdCl::ZipCache::ZipCache |
( |
| ) |
|
|
inline |
Definition at line 77 of file XrdClZipCache.hh.
83 strm.next_in = Z_NULL;
85 strm.next_out = Z_NULL;
89 int rc = inflateInit2( &strm, -MAX_WBITS );
91 if( !st.
IsOK() )
throw ZipError( st );
bool IsOK() const
We're fine.
References XrdCl::Status::IsOK().
◆ ~ZipCache()
XrdCl::ZipCache::~ZipCache |
( |
| ) |
|
|
inline |
◆ QueueReq()
void XrdCl::ZipCache::QueueReq |
( |
uint64_t |
offset, |
|
|
uint32_t |
length, |
|
|
void * |
buffer, |
|
|
ResponseHandler * |
handler |
|
) |
| |
|
inline |
Definition at line 99 of file XrdClZipCache.hh.
101 std::unique_lock<std::mutex> lck( mtx );
102 rdreqs.emplace( offset, length, buffer, handler );
◆ QueueRsp()
Definition at line 106 of file XrdClZipCache.hh.
108 std::unique_lock<std::mutex> lck( mtx );
109 rdrsps.emplace( st, offset, std::move( buffer ) );
The documentation for this class was generated from the following file: