public ZOutputStream(Stream output, int level, bool nowrap) : this() { this.output = output; z = new ZStream(); z.deflateInit(level, nowrap); compress = true; }
public ZInputStream(Stream input, int level) : this() { this.input = input; z.deflateInit(level); compress = true; z.next_in = buf; z.next_in_index = 0; z.avail_in = 0; }
public CompressedStream (Stream baseStream) { BaseStream = baseStream; zOut = new ZStream (); zOut.deflateInit (5, true); zOut.next_out = new byte[4096]; zIn = new ZStream (); zIn.inflateInit (true); zIn.next_in = new byte[4096]; }
public ZDeflaterOutputStream(Stream outp, int level, bool nowrap) { this.outp = outp; z.deflateInit(level, nowrap); }