# HuffmanEncoder Class Reference

`#include <zdeflate.h>`

List of all members.

## Detailed Description

Huffman Encoder.

Definition at line 30 of file zdeflate.h.

## Public Types
typedef unsigned int | code_t
typedef unsigned int | value_t
## Public Member Functions
| HuffmanEncoder (const unsigned int *codeBits, unsigned int nCodes)
void | Initialize (const unsigned int *codeBits, unsigned int nCodes)
void | Encode (LowFirstBitWriter &writer, value_t value) const
## Static Public Member Functions
static void | GenerateCodeLengths (unsigned int *codeBits, unsigned int maxCodeBits, const unsigned int *codeCounts, size_t nCodes)
## Public Attributes
SecBlock< Code > | m_valueToCode
## Classes
struct | Code

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

- zdeflate.h
- zdeflate.cpp