Package htsjdk.samtools.cram.encoding
Class BetaIntegerEncoding
- java.lang.Object
-
- htsjdk.samtools.cram.encoding.BetaIntegerEncoding
-
-
Constructor Summary
Constructors Constructor Description BetaIntegerEncoding()
BetaIntegerEncoding(int offset, int bitLimit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BitCodec<Integer>
buildCodec(Map<Integer,InputStream> inputMap, Map<Integer,ExposedByteArrayOutputStream> outputMap)
void
fromByteArray(byte[] data)
EncodingID
id()
byte[]
toByteArray()
static EncodingParams
toParam(int offset, int bitLimit)
-
-
-
Method Detail
-
id
public EncodingID id()
-
toParam
public static EncodingParams toParam(int offset, int bitLimit)
-
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArray
in interfaceEncoding<Integer>
-
fromByteArray
public void fromByteArray(byte[] data)
- Specified by:
fromByteArray
in interfaceEncoding<Integer>
-
buildCodec
public BitCodec<Integer> buildCodec(Map<Integer,InputStream> inputMap, Map<Integer,ExposedByteArrayOutputStream> outputMap)
- Specified by:
buildCodec
in interfaceEncoding<Integer>
-
-