1 #ifndef CRYPTOPP_ZLIB_H 2 #define CRYPTOPP_ZLIB_H 15 ZlibCompressor(
BufferedTransformation *attachment=NULL,
unsigned int deflateLevel=DEFAULT_DEFLATE_LEVEL,
unsigned int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE,
bool detectUncompressible=
true)
16 : Deflator(attachment, deflateLevel, log2WindowSize, detectUncompressible) {}
18 : Deflator(parameters, attachment) {}
20 unsigned int GetCompressionLevel()
const;
23 void WritePrestreamHeader();
24 void ProcessUncompressedData(
const byte *
string,
size_t length);
25 void WritePoststreamTail();
ZlibDecompressor(BufferedTransformation *attachment=NULL, bool repeat=false, int autoSignalPropagation=-1)
Construct a ZlibDecompressor.
void ProcessPrestreamHeader()
#define NAMESPACE_BEGIN(x)
Abstract base classes that provide a uniform interface to this library.
DEFLATE compressor (RFC 1951)
UnsupportedPresetDictionary()
unsigned int GetLog2WindowSize() const
DEFLATE compression and decompression (RFC 1951)
Data integerity check, such as CRC or MAC, failed.
ADLER-32 checksum calculations.
Input data was received that did not conform to expected format.
ZLIB Compressor (RFC 1950)
ZlibCompressor(BufferedTransformation *attachment=NULL, unsigned int deflateLevel=DEFAULT_DEFLATE_LEVEL, unsigned int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE, bool detectUncompressible=true)
ZLIB Decompressor (RFC 1950)
Class file for ADLER-32 checksum calculations.
unsigned int MaxPrestreamHeaderSize() const
DEFLATE decompressor (RFC 1951)
void ProcessDecompressedData(const byte *string, size_t length)
unsigned int m_log2WindowSize
std::vector< char * > parameters
ZlibCompressor(const NameValuePairs ¶meters, BufferedTransformation *attachment=NULL)
Err(ErrorType e, const std::string &s)
unsigned int MaxPoststreamTailSize() const
void ProcessPoststreamTail()
Interface for retrieving values given their names.