#include <huffman.h>
Data Structures |
| struct | huff_bitstream_t |
| struct | huff_encodenode_t |
| struct | huff_sym_t |
Public Member Functions |
| void | reset () |
| void | extend (unsigned char *data, size_t len) |
| bool | compress (unsigned char *in_data, size_t in_len, unsigned char *out_data, size_t &out_len) |
| bool | decompress (unsigned char *in_data, size_t in_len, unsigned char *out_data, size_t &out_len) |
| int | get_count () |
| | huffman () |
| | huffman (const huffman &other) |
Constructor & Destructor Documentation
| huffman::huffman |
( |
const huffman & |
other | ) |
[inline] |
Member Function Documentation
| bool huffman::compress |
( |
unsigned char * |
in_data, |
|
|
size_t |
in_len, |
|
|
unsigned char * |
out_data, |
|
|
size_t & |
out_len |
|
) |
| |
| bool huffman::decompress |
( |
unsigned char * |
in_data, |
|
|
size_t |
in_len, |
|
|
unsigned char * |
out_data, |
|
|
size_t & |
out_len |
|
) |
| |
| void huffman::extend |
( |
unsigned char * |
data, |
|
|
size_t |
len |
|
) |
| |
| int huffman::get_count |
( |
| ) |
[inline] |
The documentation for this class was generated from the following files: