Package htsjdk.samtools.cram.structure
Class EncodingDescriptor
java.lang.Object
htsjdk.samtools.cram.structure.EncodingDescriptor
A class for representing an encoding, including encoding-specific parameters, suitable for
serialization to/from a stream.
-
Constructor Summary
ConstructorDescriptionEncodingDescriptor
(EncodingID encodingID, byte[] encodingParameters) Representation of an encoding, including untyped encoding-specific parameters in the form of an array of bytes. -
Method Summary
-
Constructor Details
-
EncodingDescriptor
Representation of an encoding, including untyped encoding-specific parameters in the form of an array of bytes.- Parameters:
encodingID
- the encoding ID for this descriptorencodingParameters
- the encoding parameters for this descriptor
-
-
Method Details
-
getEncodingID
- Returns:
- the
EncodingID
for this descriptor.
-
getEncodingParameters
public byte[] getEncodingParameters()- Returns:
- A byte array containing the encoding parameters for this descriptor.
-
toString
-
equals
-
hashCode
public int hashCode()
-