Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public DeflaterOutputStream(Stream baseOutputStream, Deflater defl)
     : this(baseOutputStream, defl, 0x200)
 {
 }