public class Decoder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
InBuffer |
bufferedStream |
| Constructor and Description |
|---|
Decoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
Create(int bufferSize) |
int |
DecodeBit(short[] probs,
int index) |
int |
DecodeDirectBits(int numTotalBits) |
long |
GetProcessedSize() |
void |
Init() |
static void |
InitBitModels(short[] probs) |
void |
ReleaseStream() |
void |
SetStream(java.io.InputStream stream) |
public InBuffer bufferedStream
public void Create(int bufferSize)
public long GetProcessedSize()
public final void SetStream(java.io.InputStream stream)
public final void ReleaseStream()
throws java.io.IOException
java.io.IOExceptionpublic final void Init()
throws java.io.IOException
java.io.IOExceptionpublic final int DecodeDirectBits(int numTotalBits)
throws java.io.IOException
java.io.IOExceptionpublic int DecodeBit(short[] probs,
int index)
throws java.io.IOException
java.io.IOExceptionpublic static void InitBitModels(short[] probs)