메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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 |
리턴 | void |
public GetEncodedLength ( byte data ) : int | ||
data | byte | the string literal to be Huffman encoded |
리턴 | int |
public HuffmanEncoder ( int codes, byte lengths ) : System | ||
codes | int | the Huffman codes indexed by symbol |
lengths | byte | the length of each Huffman code |
리턴 | System |