public class ExternalByteEncoding extends ExternalEncoding<java.lang.Byte>
externalBlockContentId| Constructor and Description |
|---|
ExternalByteEncoding(int externalBlockContentId) |
| Modifier and Type | Method and Description |
|---|---|
CRAMCodec<java.lang.Byte> |
buildCodec(BitInputStream coreBlockInputStream,
BitOutputStream coreBlockOutputStream,
java.util.Map<java.lang.Integer,java.io.ByteArrayInputStream> externalBlockInputMap,
java.util.Map<java.lang.Integer,java.io.ByteArrayOutputStream> externalBlockOutputMap)
Instantiate the codec represented by this encoding by supplying it with the appropriate streams
|
static ExternalByteEncoding |
fromParams(byte[] params) |
toByteArraybuildReadCodec, buildWriteCodec, id, toParampublic static ExternalByteEncoding fromParams(byte[] params)
public CRAMCodec<java.lang.Byte> buildCodec(BitInputStream coreBlockInputStream, BitOutputStream coreBlockOutputStream, java.util.Map<java.lang.Integer,java.io.ByteArrayInputStream> externalBlockInputMap, java.util.Map<java.lang.Integer,java.io.ByteArrayOutputStream> externalBlockOutputMap)
CRAMEncodingbuildCodec in class CRAMEncoding<java.lang.Byte>coreBlockInputStream - the core block bit stream a CoreCodec will read fromcoreBlockOutputStream - the core block bit stream a CoreCodec will write toexternalBlockInputMap - the external block byte stream a ExternalCodec will read fromexternalBlockOutputMap - the external block byte stream a ExternalCodec will write to