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(OutputStream out) |
encodeBit, encodeBitTree, encodeDirectBits, encodeReverseBitTree, getBitPrice, getBitTreePrice, getDirectBitsPrice, getReverseBitTreePriceinitProbspublic RangeEncoderToBuffer(int bufSize,
ArrayCache arrayCache)
public void putArraysToCache(ArrayCache arrayCache)
public void reset()
reset in class RangeEncoderpublic int getPendingSize()
getPendingSize in class RangeEncoderpublic int finish()
finish in class RangeEncoderpublic void write(OutputStream out) throws IOException
IOException