Class Decoder
- java.lang.Object
-
- org.dellroad.lzma.client.SevenZip.Compression.RangeCoder.Decoder
-
public class Decoder extends Object
-
-
Constructor Summary
Constructors Constructor Description Decoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intDecodeBit(short[] probs, int index)intDecodeDirectBits(int numTotalBits)voidInit()static voidInitBitModels(short[] probs)voidReleaseStream()voidSetStream(InputStream stream)
-
-
-
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)
-
-