FACT++  1.0
huffman.h File Reference
#include <string.h>
#include <stdint.h>
#include <set>
#include <string>
#include <vector>
+ Include dependency graph for huffman.h:
+ This graph shows which files directly or indirectly include this file:

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)