메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
SetSymbols ( uint symbols = null ) : void |
Modify the codes' symbols.
|
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 |
리턴 | System |