com.sun.grizzly.lzma.compression.rangecoder
Class Decoder

java.lang.Object
  extended by com.sun.grizzly.lzma.compression.rangecoder.Decoder

public class Decoder
extends Object

Decoder

Author:
Igor Pavlov

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(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(InputStream stream)

ReleaseStream

public final void ReleaseStream()

Init

public final void Init()
                throws IOException
Throws:
IOException

DecodeDirectBits

public final int DecodeDirectBits(int numTotalBits)
                           throws IOException
Throws:
IOException

DecodeBit

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

InitBitModels

public static void InitBitModels(short[] probs)


Copyright © 2013 Oracle Corporation. All Rights Reserved.