Class HuffmanDecoder.DecodingMemory
java.lang.Object
org.apache.commons.compress.compressors.deflate64.HuffmanDecoder.DecodingMemory
- Enclosing class:
- HuffmanDecoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final byte[]
private int
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) byte
add
(byte b) (package private) void
add
(byte[] b, int off, int len) private int
incCounter
(int counter) (package private) void
recordToBuffer
(int distance, int length, byte[] buff)
-
Field Details
-
memory
private final byte[] memory -
mask
private final int mask -
wHead
private int wHead -
wrappedAround
private boolean wrappedAround
-
-
Constructor Details
-
DecodingMemory
private DecodingMemory() -
DecodingMemory
private DecodingMemory(int bits)
-
-
Method Details
-
add
byte add(byte b) -
add
void add(byte[] b, int off, int len) -
recordToBuffer
void recordToBuffer(int distance, int length, byte[] buff) -
incCounter
private int incCounter(int counter)
-