27 #ifndef Hypertable_Lib_BlockCompressionCodecLzo_h
28 #define Hypertable_Lib_BlockCompressionCodecLzo_h
105 #endif // Hypertable_Lib_BlockCompressionCodecLzo_h
BlockCompressionCodecLzo(const Args &args)
Constructor.
std::unique_ptr< uint8_t[]> m_workmem
Working memory buffer used by deflate() and inflate()
Block compressor that uses the LZO algorithm.
Declarations for BlockCompressionCodec.
A dynamic, resizable and reference counted memory buffer.
std::vector< String > Args
Compression codec argument vector.
virtual ~BlockCompressionCodecLzo()
Destructor.
virtual int get_type()
Returns enum value representing compression type LZO.
virtual void deflate(const DynamicBuffer &input, DynamicBuffer &output, BlockHeader &header, size_t reserve=0)
Compresses a buffer using the LZO algorithm.
virtual void inflate(const DynamicBuffer &input, DynamicBuffer &output, BlockHeader &header)
Decompresses a buffer compressed with the LZO algorithm.
Abstract base class for block compression codecs.