Constructor and Description |
---|
GammaIntegerEncoding() |
GammaIntegerEncoding(int offset) |
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) |
public GammaIntegerEncoding()
public GammaIntegerEncoding(int offset)
public EncodingID id()
public static EncodingParams toParam(int offset)
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>