Gunzip Class Reference

GZIP Decompression (RFC 1952). More...

#include <gzip.h>

Inheritance diagram for Gunzip:

Inflator AutoSignaling< Filter >

List of all members.

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 &parameters)
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


Detailed Description

GZIP Decompression (RFC 1952).

Definition at line 32 of file gzip.h.


Constructor & Destructor Documentation

Gunzip::Gunzip ( BufferedTransformation attachment = NULL,
bool  repeat = false,
int  autoSignalPropagation = -1 
)

Parameters:
repeat decompress multiple compressed streams in series
autoSignalPropagation 0 to turn off MessageEnd signal

Definition at line 39 of file gzip.cpp.


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

Generated on Mon Oct 27 02:38:30 2008 for Crypto++ by  doxygen 1.5.7.1