Package com.jcraft.jsch
Interface Compression
- All Known Implementing Classes:
Compression
public interface Compression
-
Field Summary
-
Method Summary
Modifier and Type Method Description byte[]compress(byte[] buf, int start, int[] len)voidinit(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
void init(int type, int level) throws java.lang.Exception- Throws:
java.lang.Exception
-
compress
byte[] compress(byte[] buf, int start, int[] len) -
uncompress
byte[] uncompress(byte[] buf, int start, int[] len)
-