Class RangeDecode
java.lang.Object
htsjdk.samtools.cram.compression.range.RangeDecode
Decoder for the CRAM 3.1 arithmetic (range) codec. This is an adaptive, byte-wise compression codec for use
with data streams that have a varying byte/symbol probability distribution. Significantly more expensive than
rAns.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuncompress(ByteBuffer inBuffer) Decompress data that was compressed with the CRAM 3.1 arithmetic (range) codec.
-
Constructor Details
-
RangeDecode
public RangeDecode()
-
-
Method Details
-
uncompress
Decompress data that was compressed with the CRAM 3.1 arithmetic (range) codec. The input buffer is consumed (position advanced to limit) and the returned buffer is rewound.- Parameters:
inBuffer- compressed input data (position to limit is decompressed)- Returns:
- a rewound ByteBuffer containing the decompressed data
-