Méthode | Description | |
---|---|---|
Encode ( |
Compresses the input string literal using the Huffman coding.
|
|
Encode ( |
Compresses the input string literal using the Huffman coding.
|
|
GetEncodedLength ( byte data ) : int |
Returns the number of bytes required to Huffman encode the input string literal.
|
|
HuffmanEncoder ( int codes, byte lengths ) : System |
Creates a new Huffman encoder with the specified Huffman coding.
|
public Encode ( |
||
output | the output stream for the compressed data | |
data | byte | the string literal to be Huffman encoded |
Résultat | void |
public Encode ( |
||
output | the output stream for the compressed data | |
data | byte | the string literal to be Huffman encoded |
off | int | the start offset in the data |
len | int | the number of bytes to encode |
Résultat | void |
public GetEncodedLength ( byte data ) : int | ||
data | byte | the string literal to be Huffman encoded |
Résultat | int |
public HuffmanEncoder ( int codes, byte lengths ) : System | ||
codes | int | the Huffman codes indexed by symbol |
lengths | byte | the length of each Huffman code |
Résultat | System |