Constructor and Description |
---|
GolombRiceIntegerEncoding() |
Modifier and Type | Method and Description |
---|---|
BitCodec<Integer> |
buildCodec(Map<Integer,InputStream> inputMap,
Map<Integer,ExposedByteArrayOutputStream> outputMap) |
void |
fromByteArray(byte[] data) |
EncodingID |
id() |
byte[] |
toByteArray() |
static EncodingParams |
toParam(int offset,
int m) |
public EncodingID id()
public static EncodingParams toParam(int offset, int m)
public byte[] toByteArray()
toByteArray
in interface Encoding<Integer>
public void fromByteArray(byte[] data)
fromByteArray
in interface Encoding<Integer>
public BitCodec<Integer> buildCodec(Map<Integer,InputStream> inputMap, Map<Integer,ExposedByteArrayOutputStream> outputMap)
buildCodec
in interface Encoding<Integer>