Compression
public 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 Compression
public byte[] compress(byte[] buf, int start, int[] len)
compress
in interface Compression
public byte[] uncompress(byte[] buffer, int start, int[] length)
uncompress
in interface Compression