deflateInit() public method

public deflateInit ( int level ) : int
level int
return int
Ejemplo n.º 1
0
 public ZOutputStream(Stream output, int level, bool nowrap)
     : this()
 {
     this.output = output;
     z           = new ZStream();
     z.deflateInit(level, nowrap);
     compress = true;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
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];
		}
Ejemplo n.º 4
0
 public ZDeflaterOutputStream(Stream outp, int level, bool nowrap)
 {
     this.outp = outp;
     z.deflateInit(level, nowrap);
 }