Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

Gunzip Class Reference

#include <gzip.h>

Inheritance diagram for Gunzip:

Inflator List of all members.

Detailed Description

GZIP Decompression (RFC 1952).

Definition at line 32 of file gzip.h.

Public Types

typedef Inflator::Err Err

Public Member Functions

 Gunzip (BufferedTransformation *attachment=NULL, bool repeat=false, int autoSignalPropagation=-1)
void IsolatedInitialize (const NameValuePairs &parameters)
unsigned int Put2 (const byte *inString, unsigned int length, int messageEnd, bool blocking)
bool IsolatedFlush (bool hardFlush, bool blocking)
virtual unsigned int GetLog2WindowSize () 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, unsigned int length)
unsigned int MaxPoststreamTailSize () const
void ProcessPoststreamTail ()

Protected Attributes

unsigned long m_length
CRC32 m_crc
ByteQueue m_inQueue


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.

References Gunzip().

Referenced by Gunzip().


The documentation for this class was generated from the following files:
Generated on Fri Aug 13 09:56:58 2004 for Crypto++ by doxygen 1.3.7