コード例 #1
0
 public ZOutputStream(Stream output, int level)
     : base()
 {
     this.InitBlock();
     this.Output = output;
     z.deflateInit(level);
     this.Compressing = true;
 }
コード例 #2
0
 public ZInputStream(System.IO.Stream in_Renamed, int level) : base(in_Renamed)
 {
     InitBlock();
     this.in_Renamed = in_Renamed;
     z.deflateInit(level);
     compress        = true;
     z.next_in       = buf;
     z.next_in_index = 0;
     z.avail_in      = 0;
 }