Huffman Encoder.
More...
#include <zdeflate.h>
|
static void | GenerateCodeLengths (unsigned int *codeBits, unsigned int maxCodeBits, const unsigned int *codeCounts, size_t nCodes) |
|
Huffman Encoder.
- Since
- Crypto++ 1.0
Definition at line 41 of file zdeflate.h.
◆ code_t
typedef unsigned int HuffmanEncoder::code_t |
◆ value_t
typedef unsigned int HuffmanEncoder::value_t |
◆ HuffmanEncoder() [1/2]
HuffmanEncoder::HuffmanEncoder |
( |
| ) |
|
|
inline |
◆ HuffmanEncoder() [2/2]
HuffmanEncoder::HuffmanEncoder |
( |
const unsigned int * |
codeBits, |
|
|
unsigned int |
nCodes |
|
) |
| |
Construct a HuffmanEncoder.
- Parameters
-
codeBits | a table of code bits |
nCodes | the number of codes in the table |
Definition at line 94 of file zdeflate.cpp.
◆ Encode()
◆ GenerateCodeLengths()
void HuffmanEncoder::GenerateCodeLengths |
( |
unsigned int * |
codeBits, |
|
|
unsigned int |
maxCodeBits, |
|
|
const unsigned int * |
codeCounts, |
|
|
size_t |
nCodes |
|
) |
| |
|
static |
◆ Initialize()
void HuffmanEncoder::Initialize |
( |
const unsigned int * |
codeBits, |
|
|
unsigned int |
nCodes |
|
) |
| |
Initialize or reinitialize this object.
- Parameters
-
codeBits | a table of code bits |
nCodes | the number of codes in the table |
Definition at line 199 of file zdeflate.cpp.
◆ m_valueToCode
The documentation for this class was generated from the following files:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/zdeflate.h
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/zdeflate.cpp