Public Types | Public Member Functions | List of all members
util::BlockCompressor Class Reference

Public Types

enum  { BLOCK_SIZE_LOG = 17, BLOCK_SIZE = 1 << BLOCK_SIZE_LOG }
 

Public Member Functions

void Add (uint8_t b)
 
void Add (strings::ByteRange br)
 
void Finalize ()
 
void Compress ()
 
const std::vector< strings::ByteRange > & compressed_blocks () const
 
size_t compressed_size () const
 
size_t pending_size () const
 
strings::MutableByteRange BlockBuffer ()
 
bool Commit (size_t sz)
 
void ClearCompressedData ()
 

Detailed Description

Definition at line 22 of file block_compressor.h.


The documentation for this class was generated from the following files: