Constructor | Description |
---|---|
HuffmanIntegerEncoding() |
Modifier and Type | Method | Description |
---|---|---|
BitCodec<Integer> |
buildCodec(Map<Integer,InputStream> inputMap,
Map<Integer,ExposedByteArrayOutputStream> outputMap) |
|
boolean |
equals(Object obj) |
|
void |
fromByteArray(byte[] data) |
|
EncodingID |
id() |
|
byte[] |
toByteArray() |
|
static EncodingParams |
toParam(int[] bfValues,
int[] bfBitLens) |
public EncodingID id()
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>
public static EncodingParams toParam(int[] bfValues, int[] bfBitLens)