public class InflaterHuffmanTree extends Object
Modifier and Type | Field and Description |
---|---|
static InflaterHuffmanTree |
defDistTree |
static InflaterHuffmanTree |
defLitLenTree |
Constructor and Description |
---|
InflaterHuffmanTree(byte[] codeLengths)
Constructs a Huffman tree from the array of code lengths.
|
Modifier and Type | Method and Description |
---|---|
int |
getSymbol(net.sf.jazzlib.StreamManipulator input)
Reads the next symbol from input.
|
public static InflaterHuffmanTree defLitLenTree
public static InflaterHuffmanTree defDistTree
public InflaterHuffmanTree(byte[] codeLengths) throws DataFormatException
codeLengths
- the array of code lengthsDataFormatException
public int getSymbol(net.sf.jazzlib.StreamManipulator input) throws DataFormatException
input
- the input source.DataFormatException
Copyright © 2009–2017. All rights reserved.