public class RangeDecoder extends Object
| Constructor and Description |
|---|
RangeDecoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
decodeBit(LZMADecoder.LZMAInputState decodeState,
short[] probs,
int index) |
boolean |
decodeDirectBits(LZMADecoder.LZMAInputState decodeState,
int numTotalBits) |
void |
init() |
static void |
initBitModels(short[] probs) |
void |
initFromState(LZMADecoder.LZMAInputState decoderState) |
void |
releaseBuffer() |
public final void initFromState(LZMADecoder.LZMAInputState decoderState)
public final void releaseBuffer()
public final void init()
throws IOException
IOExceptionpublic final boolean decodeDirectBits(LZMADecoder.LZMAInputState decodeState, int numTotalBits) throws IOException
IOExceptionpublic boolean decodeBit(LZMADecoder.LZMAInputState decodeState, short[] probs, int index) throws IOException
IOExceptionpublic static void initBitModels(short[] probs)
Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.