- All Known Implementing Classes:
Compression
public interface Compression
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
compress(byte[] buf, int start, int[] len)
void
init(int type, int level)
byte[]
uncompress(byte[] buf, int start, int[] len)
-
Field Details
-
INFLATER
static final int INFLATER- See Also:
- Constant Field Values
-
DEFLATER
static final int DEFLATER- See Also:
- Constant Field Values
-
-
Method Details
-
init
- Throws:
Exception
-
compress
byte[] compress(byte[] buf, int start, int[] len) -
uncompress
byte[] uncompress(byte[] buf, int start, int[] len)
-