public class BZip2HuffmanStageDecoder extends Object
| Constructor and Description |
|---|
BZip2HuffmanStageDecoder(BZip2BitInputStream bitInputStream,
int alphabetSize,
byte[][] tableCodeLengths,
byte[] selectors) |
public BZip2HuffmanStageDecoder(BZip2BitInputStream bitInputStream, int alphabetSize, byte[][] tableCodeLengths, byte[] selectors)
bitInputStream - The BZip2BitInputStream from which Huffman codes are readalphabetSize - The total number of codes (uniform for each table)tableCodeLengths - The Canonical Huffman code lengths for each tableselectors - The Huffman table number to use for each group of 50 symbolspublic int nextSymbol()
throws IOException
IOException - if the end of the input stream is reached while decodingCopyright © 2015. All rights reserved.