Méthode | Description | |
---|---|---|
GetSymbol ( BitStream bits ) : uint |
Return the next symbol in the bitstream.
|
|
Huffman ( byte maxLength, uint codeCount, uint codes, byte lengths, uint symbols = null ) : System |
Creates a Huffman decoder.
|
Méthode | Description | |
---|---|---|
SetSymbols ( uint symbols = null ) : void |
Modify the codes' symbols.
|
public GetSymbol ( BitStream bits ) : uint | ||
bits | BitStream | The bitstream. |
Résultat | uint |
public Huffman ( byte maxLength, uint codeCount, uint codes, byte lengths, uint symbols = null ) : System | ||
maxLength | byte | Maximal code length. If 0, it's searched for |
codeCount | uint | Number of codes |
codes | uint | The actual codes |
lengths | byte | Lengths of the individual codes |
symbols | uint | The symbols. If null, assume they are identical to the code indices |
Résultat | System |