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