예제 #1
0
 public ZInputStream(InputStream @in, int level) : base(@in)
 {
     this.@in = @in;
     z.DeflateInit(level);
     compress        = true;
     z.next_in       = buf;
     z.next_in_index = 0;
     z.avail_in      = 0;
 }
예제 #2
0
 public ZOutputStream(OutputStream @out, int level, bool nowrap) : base()
 {
     this.@out = @out;
     z.DeflateInit(level, nowrap);
     compress = true;
 }