Class CoreCodec<T>
- java.lang.Object
-
- htsjdk.samtools.cram.encoding.core.CoreCodec<T>
-
- Type Parameters:
T
- data series type to be read or written
- All Implemented Interfaces:
CRAMCodec<T>
- Direct Known Subclasses:
BetaIntegerCodec
public abstract class CoreCodec<T> extends Object implements CRAMCodec<T>
Superclass of Codecs which operate on Core Block bit streams Contrast withExternalCodec
for External Block byte streams
-
-
Field Summary
Fields Modifier and Type Field Description protected BitInputStream
coreBlockInputStream
protected BitOutputStream
coreBlockOutputStream
-
Constructor Summary
Constructors Modifier Constructor Description protected
CoreCodec(BitInputStream coreBlockInputStream, BitOutputStream coreBlockOutputStream)
Create a new CoreCodec with associated input and output bit streams
-
-
-
Field Detail
-
coreBlockInputStream
protected final BitInputStream coreBlockInputStream
-
coreBlockOutputStream
protected final BitOutputStream coreBlockOutputStream
-
-
Constructor Detail
-
CoreCodec
protected CoreCodec(BitInputStream coreBlockInputStream, BitOutputStream coreBlockOutputStream)
Create a new CoreCodec with associated input and output bit streams- Parameters:
coreBlockInputStream
- bit stream for reading inputcoreBlockOutputStream
- bit stream for writing output
-
-