Crypto++
|
GZIP Decompression (RFC 1952) More...
#include <gzip.h>
Classes | |
class | CrcErr |
class | HeaderErr |
class | LengthErr |
class | TailErr |
Public Types | |
typedef Inflator::Err | Err |
Public Member Functions | |
Gunzip (BufferedTransformation *attachment=NULL, bool repeat=false, int autoSignalPropagation=-1) | |
void | IsolatedInitialize (const NameValuePairs ¶meters) |
size_t | Put2 (const byte *inString, size_t length, int messageEnd, bool blocking) |
bool | IsolatedFlush (bool hardFlush, bool blocking) |
virtual unsigned int | GetLog2WindowSize () const |
void | SetAutoSignalPropagation (int propagation) |
int | GetAutoSignalPropagation () const |
Protected Types | |
enum | { MAGIC1 = 0x1f, MAGIC2 = 0x8b, DEFLATED = 8 } |
enum | FLAG_MASKS { CONTINUED = 2, EXTRA_FIELDS = 4, FILENAME = 8, COMMENTS = 16, ENCRYPTED = 32 } |
Protected Member Functions | |
unsigned int | MaxPrestreamHeaderSize () const |
void | ProcessPrestreamHeader () |
void | ProcessDecompressedData (const byte *string, size_t length) |
unsigned int | MaxPoststreamTailSize () const |
void | ProcessPoststreamTail () |
Protected Attributes | |
word32 | m_length |
CRC32 | m_crc |
ByteQueue | m_inQueue |
GZIP Decompression (RFC 1952)
Gunzip::Gunzip | ( | BufferedTransformation * | attachment = NULL , |
bool | repeat = false , |
||
int | autoSignalPropagation = -1 |
||
) |