public class Compression extends java.lang.Object implements Compression
DEFLATER, INFLATER| Constructor and Description |
|---|
Compression() |
| Modifier and Type | Method and 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 CompressionCopyright © 2020 JCraft,Inc.. All Rights Reserved.