Class ExternalLongEncoding
java.lang.Object
htsjdk.samtools.cram.encoding.CRAMEncoding<Long>
htsjdk.samtools.cram.encoding.external.ExternalEncoding<Long>
htsjdk.samtools.cram.encoding.external.ExternalLongEncoding
-
Field Summary
Fields inherited from class htsjdk.samtools.cram.encoding.external.ExternalEncoding
externalBlockContentId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildCodec(SliceBlocksReadStreams sliceBlocksReadStreams, SliceBlocksWriteStreams sliceBlocksWriteStreams) Instantiate the codec represented by this encoding by supplying it with the appropriate streamsstatic ExternalLongEncodingfromSerializedEncodingParams(byte[] serializedParams) Create a new instance of this encoding using the (ITF8 encoded) serializedParams.Methods inherited from class htsjdk.samtools.cram.encoding.external.ExternalEncoding
toSerializedEncodingParams, toStringMethods inherited from class htsjdk.samtools.cram.encoding.CRAMEncoding
buildReadCodec, buildWriteCodec, id, toEncodingDescriptor
-
Constructor Details
-
ExternalLongEncoding
public ExternalLongEncoding(int externalBlockContentId)
-
-
Method Details
-
fromSerializedEncodingParams
Create a new instance of this encoding using the (ITF8 encoded) serializedParams.- Parameters:
serializedParams-- Returns:
- ExternalLongEncoding with parameters populated from serializedParams
-
buildCodec
public CRAMCodec<Long> buildCodec(SliceBlocksReadStreams sliceBlocksReadStreams, SliceBlocksWriteStreams sliceBlocksWriteStreams) Description copied from class:CRAMEncodingInstantiate the codec represented by this encoding by supplying it with the appropriate streams- Specified by:
buildCodecin classCRAMEncoding<Long>- Parameters:
sliceBlocksReadStreams- the core block bit stream aCoreCodecwill read fromsliceBlocksWriteStreams- the core block bit stream aCoreCodecwill write to- Returns:
- a newly instantiated codec
-