public class EliasFanoBitStreamCODEC extends BitStreamCODEC
Constructor and Description |
---|
EliasFanoBitStreamCODEC() |
Modifier and Type | Method and Description |
---|---|
boolean |
isIntegrated()
Returns if the CODEC is integrated, i.e.
|
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
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 errorpublic boolean isIntegrated()
CODEC
isIntegrated
in interface CODEC<byte[]>
isIntegrated
in class BitStreamCODEC
Copyright © 2016. All rights reserved.