org.glassfish.grizzly.compression.lzma.impl.rangecoder
Class RangeDecoder

java.lang.Object
  extended by org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeDecoder

public class RangeDecoder
extends java.lang.Object

RangeDecoder

Author:
Igor Pavlov

Constructor Summary
RangeDecoder()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeDecoder

public RangeDecoder()
Method Detail

initFromState

public final void initFromState(LZMADecoder.LZMAInputState decoderState)

releaseBuffer

public final void releaseBuffer()

init

public final void init()
                throws java.io.IOException
Throws:
java.io.IOException

decodeDirectBits

public final boolean decodeDirectBits(LZMADecoder.LZMAInputState decodeState,
                                      int numTotalBits)
                               throws java.io.IOException
Throws:
java.io.IOException

decodeBit

public boolean decodeBit(LZMADecoder.LZMAInputState decodeState,
                         short[] probs,
                         int index)
                  throws java.io.IOException
Throws:
java.io.IOException

initBitModels

public static void initBitModels(short[] probs)


Copyright © 2012 Oracle Corporation. All Rights Reserved.