Information about the encoding of symbols. The symbol's value (between 0
and 255
) is not included, but deduced from the objects' position in the symbol array found in field symbols.
Definition at line 40 of file huffman.inl.
Public Field Index: | |
std::size_t | frequency = 0 |
The number of occurrences of the symbol. | |
alib::ShiftOpRHS | wordLength = 0 |
0: symbol not used, otherwise between 1 and 255. | |
uint32_t | words [MAX_WORDS] = {0,0} |
The bitcode of the symbol. | |
std::size_t alib::bitbuffer::ac_v1::HuffmanEncoder::Symbol::frequency = 0 |
The number of occurrences of the symbol.
Definition at line 42 of file huffman.inl.
alib::ShiftOpRHS alib::bitbuffer::ac_v1::HuffmanEncoder::Symbol::wordLength = 0 |
0: symbol not used, otherwise between 1 and 255.
Definition at line 43 of file huffman.inl.
uint32_t alib::bitbuffer::ac_v1::HuffmanEncoder::Symbol::words[MAX_WORDS] = {0,0} |
The bitcode of the symbol.
Definition at line 44 of file huffman.inl.