Class 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 with ExternalCodec for External Block byte 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 input
        coreBlockOutputStream - bit stream for writing output