Class RangeDecoder
- java.lang.Object
-
- org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeDecoder
-
public class RangeDecoder extends Object
RangeDecoder- Author:
- Igor Pavlov
-
-
Constructor Summary
Constructors Constructor Description RangeDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecodeBit(LZMADecoder.LZMAInputState decodeState, short[] probs, int index)booleandecodeDirectBits(LZMADecoder.LZMAInputState decodeState, int numTotalBits)voidinit()static voidinitBitModels(short[] probs)voidinitFromState(LZMADecoder.LZMAInputState decoderState)voidreleaseBuffer()
-
-
-
Method Detail
-
initFromState
public final void initFromState(LZMADecoder.LZMAInputState decoderState)
-
releaseBuffer
public final void releaseBuffer()
-
init
public final void init() throws IOException- Throws:
IOException
-
decodeDirectBits
public final boolean decodeDirectBits(LZMADecoder.LZMAInputState decodeState, int numTotalBits) throws IOException
- Throws:
IOException
-
decodeBit
public boolean decodeBit(LZMADecoder.LZMAInputState decodeState, short[] probs, int index) throws IOException
- Throws:
IOException
-
initBitModels
public static void initBitModels(short[] probs)
-
-