FACT++
1.0
|
#include <string.h>
#include <stdint.h>
#include <set>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | Huffman::TreeNode |
struct | Huffman::Encoder |
struct | Huffman::Encoder::Code |
struct | Huffman::Decoder |
Namespaces | |
Huffman | |
Macros | |
#define | MAX_SYMBOLS (1<<16) |
Functions | |
static unsigned long | Huffman::numbytes_from_numbits (unsigned long numbits) |
bool | Huffman::Encode (std::string &bufout, const uint16_t *bufin, size_t bufinlen) |
int64_t | Huffman::Decode (const uint8_t *bufin, size_t bufinlen, std::vector< uint16_t > &pbufout) |