T - data type of the series to be written.public class DataSeriesWriter<T>
extends java.lang.Object
A CRAM Data Series writer for a particular Encoding, DataSeriesType and associated parameters
Note: the class does not have a writeArray method like its counterpart DataSeriesReader because
array length is known when writing, therefore the same interface can be used both for single objects and arrays.
| Constructor and Description |
|---|
DataSeriesWriter(DataSeriesType valueType,
EncodingParams params,
BitOutputStream bitOutputStream,
java.util.Map<java.lang.Integer,java.io.ByteArrayOutputStream> outputMap)
Initialize a Data Series writer
|
public DataSeriesWriter(DataSeriesType valueType, EncodingParams params, BitOutputStream bitOutputStream, java.util.Map<java.lang.Integer,java.io.ByteArrayOutputStream> outputMap)
valueType - type of the data to writeparams - encoding-specific parametersbitOutputStream - Core data block bit stream, to be written by non-external EncodingsoutputMap - External data block byte stream map, to be written by external Encodings