public final class RangeEncoderToBuffer extends RangeEncoder
Constructor and Description |
---|
RangeEncoderToBuffer(int bufSize,
ArrayCache arrayCache) |
Modifier and Type | Method and Description |
---|---|
int |
finish() |
int |
getPendingSize() |
void |
putArraysToCache(ArrayCache arrayCache) |
void |
reset() |
void |
write(java.io.OutputStream out) |
encodeBit, encodeBitTree, encodeDirectBits, encodeReverseBitTree, getBitPrice, getBitTreePrice, getDirectBitsPrice, getReverseBitTreePrice
initProbs
public RangeEncoderToBuffer(int bufSize, ArrayCache arrayCache)
public void putArraysToCache(ArrayCache arrayCache)
public void reset()
reset
in class RangeEncoder
public int getPendingSize()
getPendingSize
in class RangeEncoder
public int finish()
finish
in class RangeEncoder
public void write(java.io.OutputStream out) throws java.io.IOException
java.io.IOException