Package net.runelite.cache.util
Class BZip2
- java.lang.Object
-
- net.runelite.cache.util.BZip2
-
public class BZip2 extends Object
-
-
Constructor Summary
Constructors Constructor Description BZip2()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]compress(byte[] bytes)static byte[]compressApache(byte[] bytes)static byte[]compressLibBZip2(byte[] data)static byte[]decompress(byte[] bytes, int len)
-
-
-
Method Detail
-
compress
public static byte[] compress(byte[] bytes) throws IOException- Throws:
IOException
-
compressApache
public static byte[] compressApache(byte[] bytes) throws IOException- Throws:
IOException
-
compressLibBZip2
public static byte[] compressLibBZip2(byte[] data) throws IOException- Throws:
IOException
-
decompress
public static byte[] decompress(byte[] bytes, int len) throws IOException- Throws:
IOException
-
-