public class Zlib extends java.lang.Object implements ICompressor
| Constructor and Description |
|---|
Zlib() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCompressPreauth() |
int |
compress(byte[] buf,
int start,
int len,
byte[] output) |
int |
getBufferSize() |
byte[] |
uncompress(byte[] buffer,
int start,
int[] length) |
public boolean canCompressPreauth()
canCompressPreauth in interface ICompressorpublic int getBufferSize()
getBufferSize in interface ICompressorpublic int compress(byte[] buf,
int start,
int len,
byte[] output)
compress in interface ICompressorpublic byte[] uncompress(byte[] buffer,
int start,
int[] length)
uncompress in interface ICompressor