This commit is contained in:
thedaneeffect committed 2021-03-17 04:18:36 -04:00
1 parent 8dc84ddf2e
commit 75cdc50554
16 files changed
+192 -111

No files matched your search

+14
View File
@@ -15,6 +15,20 @@ public class BZip2 extends InputStream {
private static final byte[] MAGIC = {'B', 'Z', 'h', '1'};
/**
* @see #decompress(byte[], int, int, byte[])
*/
public static byte[] decompress(byte[] src) throws IOException {
return decompress(src, 0, src.length, null);
}
/**
* @see #decompress(byte[], int, int, byte[])
*/
public static byte[] decompress(byte[] src, int off, int len) throws IOException {
return decompress(src, off, len, null);
}
/**
* Decompresses the source.
*