ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Fields | List of all members
HuffmanEncoder::Symbol Struct Reference

#include <huffman.hpp>

Class Description

Information about the encoding of symbols. The symbol's value (between 0 and 255) is not included, but deducted from the objects position in the symbol array found in field symbols.

Definition at line 53 of file huffman.hpp.

Public Fields

std::size_t frequency = 0
 The number of occurrences of the symbol.
 
aworx::ShiftOpRHS wordLength = 0
 0: symbol not used, otherwise between 1 and 255.
 
uint32_t words [MAX_WORDS] = {0,0}
 The bitcode of the symbol.
 

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