comparison src/ch/ethz/ssh2/compression/Zlib.java @ 327:9a657362519c ganymed

pickup compression from trilead
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 11:18:21 -0700
parents 97da8c5fb40a
children
comparison
equal deleted inserted replaced
326:97da8c5fb40a 327:9a657362519c
22 22
23 /** 23 /**
24 * @author Kenny Root 24 * @author Kenny Root
25 * 25 *
26 */ 26 */
27 public class Zlib implements ICompressor { 27 public class Zlib implements Compressor {
28 static private final int DEFAULT_BUF_SIZE = 4096; 28 static private final int DEFAULT_BUF_SIZE = 4096;
29 static private final int LEVEL = 5; 29 static private final int LEVEL = 5;
30 30
31 private ZStream deflate; 31 private ZStream deflate;
32 private byte[] deflate_tmpbuf; 32 private byte[] deflate_tmpbuf;