BitStream.Huffman
A Huffman code.
| Methods |
| int |
getBitCount(int value)
Get the number of bits of the Huffman code for this value.
|
| int |
getBitCount(int value)
Get the number of bits of the Huffman code for this value.
Parameters:
value - the value
Returns:
the number of bits
|
| int |
read(BitStream.In in)
Read a value.
|
| int |
read(BitStream.In in)
Read a value.
Parameters:
in - the input stream
Returns:
the value
|
| void |
write(BitStream.Out out, int value)
Write a value.
|
| void |
write(BitStream.Out out, int value)
Write a value.
Parameters:
out - the output stream
value - the value to write
|
|