java.util.zip
Class InflaterHuffmanTree
java.lang.Object
|
+--java.util.zip.InflaterHuffmanTree
public class
InflaterHuffmanTreeextends
Object int | getSymbol(java.util.zip.StreamManipulator input)
|
defLitLenTree, defDistTree
public static InflaterHuffmanTree defLitLenTree, defDistTree
InflaterHuffmanTree
public InflaterHuffmanTree(byte[] codeLengths)
Constructs a Huffman tree from the array of code lengths.
Parameters:
getSymbol
public int getSymbol(java.util.zip.StreamManipulator input)
Reads the next symbol from input. The symbol is encoded using the
huffman tree.
Parameters:
Returns:
- the next symbol, or -1 if not enough input is available.