public final class ExternalIntegerEncoding extends ExternalEncoding<java.lang.Integer>
externalBlockContentId
Constructor and Description |
---|
ExternalIntegerEncoding(int externalBlockContentId) |
Modifier and Type | Method and Description |
---|---|
CRAMCodec<java.lang.Integer> |
buildCodec(SliceBlocksReadStreams sliceBlocksReadStreams,
SliceBlocksWriteStreams sliceBlocksWriteStreams)
Instantiate the codec represented by this encoding by supplying it with the appropriate streams
|
static ExternalIntegerEncoding |
fromSerializedEncodingParams(byte[] serializedParams)
Create a new instance of this encoding using the (ITF8 encoded) serializedParams.
|
toSerializedEncodingParams, toString
buildReadCodec, buildWriteCodec, id, toEncodingDescriptor
public ExternalIntegerEncoding(int externalBlockContentId)
public static ExternalIntegerEncoding fromSerializedEncodingParams(byte[] serializedParams)
serializedParams
- public CRAMCodec<java.lang.Integer> buildCodec(SliceBlocksReadStreams sliceBlocksReadStreams, SliceBlocksWriteStreams sliceBlocksWriteStreams)
CRAMEncoding
buildCodec
in class CRAMEncoding<java.lang.Integer>
sliceBlocksReadStreams
- the core block bit stream a CoreCodec
will read fromsliceBlocksWriteStreams
- the core block bit stream a CoreCodec
will write to