Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

HuffmanDecoder Class Reference

Huffman Decoder. More...

#include <zinflate.h>

List of all members.

Public Types

typedef unsigned int code_t
typedef unsigned int value_t
enum  { MAX_CODE_BITS = sizeof(code_t)*8 }

Public Methods

 HuffmanDecoder ()
 HuffmanDecoder (const unsigned int *codeBits,unsigned int nCodes)
void Initialize (const unsigned int *codeBits,unsigned int nCodes)
unsigned int Decode (code_t code,value_t &value)const
bool Decode (LowFirstBitReader &reader,value_t &value)const


Detailed Description

Huffman Decoder.

Definition at line 29 of file zinflate.h.


Member Typedef Documentation

typedef unsigned int HuffmanDecoder::code_t
 

Definition at line 32 of file zinflate.h.

typedef unsigned int HuffmanDecoder::value_t
 

Definition at line 33 of file zinflate.h.


Member Enumeration Documentation

anonymous enum
 

Definition at line 34 of file zinflate.h.


Constructor & Destructor Documentation

HuffmanDecoder::HuffmanDecoder ( ) [inline]
 

Definition at line 38 of file zinflate.h.

HuffmanDecoder::HuffmanDecoder ( const unsigned int * codeBits,
unsigned int nCodes ) [inline]
 

Definition at line 39 of file zinflate.h.


Member Function Documentation

bool HuffmanDecoder::Decode ( LowFirstBitReader & reader,
value_t & value ) const
 

Definition at line 153 of file zinflate.cpp.

unsigned int HuffmanDecoder::Decode ( code_t code,
value_t & value ) const [inline]
 

Definition at line 133 of file zinflate.cpp.

void HuffmanDecoder::Initialize ( const unsigned int * codeBits,
unsigned int nCodes )
 

Definition at line 48 of file zinflate.cpp.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:51 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000