Permalink
Browse files
Make unzipBlock in BlockGunzipper public. (#650)
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/main/java/htsjdk/samtools/util/BlockGunzipper.java
|
|
@@ -58,7 +58,7 @@ public void setCheckCrcs(final boolean check) { |
|
|
* @param compressedBlock compressed data starting at offset 0
|
|
|
* @param compressedLength size of compressed data, possibly less than the size of the buffer.
|
|
|
*/
|
|
|
- void unzipBlock(byte[] uncompressedBlock, byte[] compressedBlock, int compressedLength) {
|
|
|
+ public void unzipBlock(byte[] uncompressedBlock, byte[] compressedBlock, int compressedLength) {
|
|
|
try {
|
|
|
ByteBuffer byteBuffer = ByteBuffer.wrap(compressedBlock, 0, compressedLength);
|
|
|
byteBuffer.order(ByteOrder.LITTLE_ENDIAN);
|
|
|
|
0 comments on commit
ec44a54