SevenZip.Compression.RangeCoder
Class Decoder

java.lang.Object
  extended by SevenZip.Compression.RangeCoder.Decoder

public class Decoder
extends java.lang.Object


Constructor Summary
Decoder()
           
 
Method Summary
 int DecodeBit(short[] probs, int index)
           
 int DecodeDirectBits(int numTotalBits)
           
 void Init()
           
static void InitBitModels(short[] probs)
           
 void ReleaseStream()
           
 void SetStream(java.io.InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decoder

public Decoder()
Method Detail

SetStream

public final void SetStream(java.io.InputStream stream)

ReleaseStream

public final void ReleaseStream()

Init

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

DecodeDirectBits

public final int DecodeDirectBits(int numTotalBits)
                           throws java.io.IOException
Throws:
java.io.IOException

DecodeBit

public int DecodeBit(short[] probs,
                     int index)
              throws java.io.IOException
Throws:
java.io.IOException

InitBitModels

public static void InitBitModels(short[] probs)