Compressionpublic class Compression extends java.lang.Object implements Compression
DEFLATER, INFLATER| Constructor | Description |
|---|---|
Compression() |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
compress(byte[] buf,
int start,
int[] len) |
|
void |
init(int type,
int level) |
|
byte[] |
uncompress(byte[] buffer,
int start,
int[] length) |
public void init(int type,
int level)
init in interface Compressionpublic byte[] compress(byte[] buf,
int start,
int[] len)
compress in interface Compressionpublic byte[] uncompress(byte[] buffer,
int start,
int[] length)
uncompress in interface Compression