com.jcraft.jsch

Interface Compression

Known Implementing Classes:
Compression

public interface Compression

Field Summary

static int
DEFLATER
static int
INFLATER

Method Summary

int
compress(byte[] buf, int start, int len)
void
init(int type, int level)
byte[]
uncompress(byte[] buf, int start, int[] len)

Field Details

DEFLATER

public static final int DEFLATER

Field Value:
1


INFLATER

public static final int INFLATER

Field Value:
0

Method Details

compress

public int compress(byte[] buf,
                    int start,
                    int len)


init

public void init(int type,
                 int level)


uncompress

public byte[] uncompress(byte[] buf,
                         int start,
                         int[] len)