コード例 #1
0
 public DeflaterOutputStream(Stream baseOutputStream, Deflater defl, int bufsize)
 {
     this.baseOutputStream = baseOutputStream;
     if (bufsize <= 0)
     {
         throw new InvalidOperationException("bufsize <= 0");
     }
     this.buf = new byte[bufsize];
     this.def = defl;
 }
コード例 #2
0
 public DeflaterOutputStream(Stream baseOutputStream, Deflater defl)
     : this(baseOutputStream, defl, 0x200)
 {
 }