Package com.helger.commons.codec
Class LZWCodec.LZWDecodeDictionary
- java.lang.Object
-
- com.helger.commons.codec.LZWCodec.AbstractLZWDictionary
-
- com.helger.commons.codec.LZWCodec.LZWDecodeDictionary
-
- Enclosing class:
- LZWCodec
protected static class LZWCodec.LZWDecodeDictionary extends LZWCodec.AbstractLZWDictionary
-
-
Field Summary
-
Fields inherited from class com.helger.commons.codec.LZWCodec.AbstractLZWDictionary
CODE_CLEARTABLE, CODE_EOF, m_aTab, m_nCodeBits, m_nFreeCode, MAX_CODE
-
-
Constructor Summary
Constructors Constructor Description LZWDecodeDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]directGetAllBytes(int nCode)intreadCode(NonBlockingBitInputStream aBIS)Read the next code-
Methods inherited from class com.helger.commons.codec.LZWCodec.AbstractLZWDictionary
addEntry, getNextFreeCode, reset
-
-
-
-
Method Detail
-
readCode
public int readCode(@Nonnull NonBlockingBitInputStream aBIS) throws IOException
Read the next code- Parameters:
aBIS- The stream to read from- Returns:
- The next code
- Throws:
IOException- In case EOF is reached
-
directGetAllBytes
@Nullable @ReturnsMutableObject("speed") public byte[] directGetAllBytes(@Nonnegative int nCode)
-
-