public class RiceBitStreamCODEC extends BitStreamCODEC
Constructor and Description |
---|
RiceBitStreamCODEC() |
Modifier and Type | Method and Description |
---|---|
protected void |
read(it.unimi.dsi.io.InputBitStream ibs,
int[] out,
int offset,
int len)
Reads a BitStream to an array.
|
protected void |
write(it.unimi.dsi.io.OutputBitStream obs,
int[] in,
int offset,
int len)
Write integer array to BitStream.
|
co, dec, isIntegrated
add, reset, stats
protected void write(it.unimi.dsi.io.OutputBitStream obs, int[] in, int offset, int len) throws IOException
BitStreamCODEC
write
in class BitStreamCODEC
obs
- output bit streamin
- input arrayoffset
- offset of arraylen
- number of bytes to writeIOException
- when IO errorprotected void read(it.unimi.dsi.io.InputBitStream ibs, int[] out, int offset, int len) throws IOException
BitStreamCODEC
read
in class BitStreamCODEC
ibs
- input bit streamout
- output arrayoffset
- array offsetlen
- number of integers to readIOException
- when IO errorCopyright © 2016. All rights reserved.