32#ifndef RCSC_GZ_GZCOMPRESSOR_H
33#define RCSC_GZ_GZCOMPRESSOR_H
50 std::unique_ptr< Impl > M_impl;
99 std::unique_ptr< Impl > M_impl;
122 std::string & dest );
compress message string
Definition: gzcompressor.h:44
~GZCompressor()
destruct implementation
int compress(const char *src_buf, const int src_size, std::string &dest)
compress the src_buf and copy output buffer to std::string
GZCompressor(const int level=6)
construct with compression level
int setLevel(const int level)
set zlib compression level
decompress message string
Definition: gzcompressor.h:93
~GZDecompressor()
destruct implementation
int decompress(const char *src_buf, const int src_size, std::string &dest)
decompress the src_buf and copy output buffer to std::string
GZDecompressor()
construct implementation