Stuff
This commit is contained in:
1 parent
8dc84ddf2e
commit
75cdc50554
16 files changed
+192
-111
No files matched your search
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user