| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | FIXED_TABLE
Static Huffman code for the code length code lengths. |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| private static void | |
| private static int | |
| private static void | |
| private static void | |
| private static void | |
| private static int | decodeVarLenUnsignedByte(BitReader br)
Decodes a number in the range [0..255], by reading 1 - 11 bits. |
| pack-priv static void | |
| private static void | |
| private static void | |
| private static void | |
| private static int | |
| pack-priv static void | |
| private static void | readHuffmanCodeLengths(int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, BitReader br)
|
| private static void | |
| private static void | |
| private static int | |
| pack-priv static void | |
| private static int | |
| private static boolean |
| CODE_LENGTH_CODE_ORDER | back to summary |
|---|---|
| private static final int[] CODE_LENGTH_CODE_ORDER | |
| CODE_LENGTH_CODES | back to summary |
|---|---|
| private static final int CODE_LENGTH_CODES | |
| CODE_LENGTH_REPEAT_CODE | back to summary |
|---|---|
| private static final int CODE_LENGTH_REPEAT_CODE | |
| DEFAULT_CODE_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_CODE_LENGTH | |
| DISTANCE_CONTEXT_BITS | back to summary |
|---|---|
| private static final int DISTANCE_CONTEXT_BITS | |
| DISTANCE_SHORT_CODE_INDEX_OFFSET | back to summary |
|---|---|
| private static final int[] DISTANCE_SHORT_CODE_INDEX_OFFSET | |
| DISTANCE_SHORT_CODE_VALUE_OFFSET | back to summary |
|---|---|
| private static final int[] DISTANCE_SHORT_CODE_VALUE_OFFSET | |
| FIXED_TABLE | back to summary |
|---|---|
| private static final int[] FIXED_TABLE Static Huffman code for the code length code lengths. | |
| HUFFMAN_TABLE_BITS | back to summary |
|---|---|
| private static final int HUFFMAN_TABLE_BITS | |
| HUFFMAN_TABLE_MASK | back to summary |
|---|---|
| private static final int HUFFMAN_TABLE_MASK | |
| LITERAL_CONTEXT_BITS | back to summary |
|---|---|
| private static final int LITERAL_CONTEXT_BITS | |
| NUM_BLOCK_LENGTH_CODES | back to summary |
|---|---|
| private static final int NUM_BLOCK_LENGTH_CODES | |
| NUM_DISTANCE_SHORT_CODES | back to summary |
|---|---|
| private static final int NUM_DISTANCE_SHORT_CODES | |
| NUM_INSERT_AND_COPY_CODES | back to summary |
|---|---|
| private static final int NUM_INSERT_AND_COPY_CODES | |
| NUM_LITERAL_CODES | back to summary |
|---|---|
| private static final int NUM_LITERAL_CODES | |
| Decode | back to summary |
|---|---|
| pack-priv Decode() | |
| copyUncompressedData | back to summary |
|---|---|
| private static void copyUncompressedData(State state) | |
| decodeBlockTypeAndLength | back to summary |
|---|---|
| private static void decodeBlockTypeAndLength(State state, int treeType) | |
| decodeCommandBlockSwitch | back to summary |
|---|---|
| private static void decodeCommandBlockSwitch(State state) | |
| decodeContextMap | back to summary |
|---|---|
| private static int decodeContextMap(int contextMapSize, byte[] contextMap, BitReader br) | |
| decodeDistanceBlockSwitch | back to summary |
|---|---|
| private static void decodeDistanceBlockSwitch(State state) | |
| decodeLiteralBlockSwitch | back to summary |
|---|---|
| private static void decodeLiteralBlockSwitch(State state) | |
| decodeMetaBlockLength | back to summary |
|---|---|
| private static void decodeMetaBlockLength(BitReader br, State state) | |
| decodeVarLenUnsignedByte | back to summary |
|---|---|
| private static int decodeVarLenUnsignedByte(BitReader br) Decodes a number in the range [0..255], by reading 1 - 11 bits. | |
| decompress | back to summary |
|---|---|
| pack-priv static void decompress(State state) Actual decompress implementation. | |
| inverseMoveToFrontTransform | back to summary |
|---|---|
| private static void inverseMoveToFrontTransform(byte[] v, int vLen) | |
| maybeReallocateRingBuffer | back to summary |
|---|---|
| private static void maybeReallocateRingBuffer(State state) | |
| moveToFront | back to summary |
|---|---|
| private static void moveToFront(int[] v, int index) | |
| readBlockLength | back to summary |
|---|---|
| private static int readBlockLength(int[] table, int offset, BitReader br) | |
| readHuffmanCode | back to summary |
|---|---|
| pack-priv static void readHuffmanCode(int alphabetSize, int[] table, int offset, BitReader br) | |
| readHuffmanCodeLengths | back to summary |
|---|---|
| private static void readHuffmanCodeLengths(int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, BitReader br) | |
| readMetablockHuffmanCodesAndContextMaps | back to summary |
|---|---|
| private static void readMetablockHuffmanCodesAndContextMaps(State state) | |
| readMetablockInfo | back to summary |
|---|---|
| private static void readMetablockInfo(State state) Reads next metablock header.
| |
| readSymbol | back to summary |
|---|---|
| private static int readSymbol(int[] table, int offset, BitReader br) Decodes the next Huffman code from bit-stream. | |
| setCustomDictionary | back to summary |
|---|---|
| pack-priv static void setCustomDictionary(State state, byte[] data) | |
| translateShortCodes | back to summary |
|---|---|
| private static int translateShortCodes(int code, int[] ringBuffer, int index) | |
| writeRingBuffer | back to summary |
|---|---|
| private static boolean writeRingBuffer(State state) | |