A.I.M.S algorithms


LZHLEncoder Class Reference

#include <aims/compression/huffman.h>

Public Types

enum  { maxMatchOver = 517, maxRaw = 64 }
 

Public Member Functions

 LZHLEncoder (LZHLEncoderStat *stat, byte *dst)
 
 ~LZHLEncoder ()
 
size_t flush ()
 
void putRaw (const byte *src, size_t sz)
 
void putMatch (const byte *src, size_t nRaw, size_t matchOver, size_t disp)
 

Static Public Member Functions

static size_t calcMaxBuf (size_t rawSz)
 

Detailed Description

Definition at line 101 of file huffman.h.

Member Enumeration Documentation

anonymous enum
Enumerator
maxMatchOver 
maxRaw 

Definition at line 107 of file huffman.h.

Constructor & Destructor Documentation

LZHLEncoder::LZHLEncoder ( LZHLEncoderStat stat,
byte dst 
)
inline

Definition at line 150 of file huffman.h.

LZHLEncoder::~LZHLEncoder ( )
inline

Definition at line 160 of file huffman.h.

Member Function Documentation

static size_t LZHLEncoder::calcMaxBuf ( size_t  rawSz)
static
size_t LZHLEncoder::flush ( )
void LZHLEncoder::putMatch ( const byte src,
size_t  nRaw,
size_t  matchOver,
size_t  disp 
)
void LZHLEncoder::putRaw ( const byte src,
size_t  sz 
)

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