| Constructor and Description |
|---|
GolombLongEncoding() |
| Modifier and Type | Method and Description |
|---|---|
BitCodec<Long> |
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<Long>public void fromByteArray(byte[] data)
fromByteArray in interface Encoding<Long>public BitCodec<Long> buildCodec(Map<Integer,InputStream> inputMap, Map<Integer,ExposedByteArrayOutputStream> outputMap)
buildCodec in interface Encoding<Long>