public InflaterInputStream(Stream baseInputStream, Inflater inf, int size)
 {
     this.onebytebuffer = new byte[1];
     this.baseInputStream = baseInputStream;
     this.inf = inf;
     try
     {
         this.len = (int) baseInputStream.Length;
     }
     catch (Exception)
     {
         this.len = 0;
     }
     if (size <= 0)
     {
         throw new ArgumentOutOfRangeException("size <= 0");
     }
     this.buf = new byte[size];
 }
 public InflaterInputStream(Stream baseInputStream, Inflater inf)
     : this(baseInputStream, inf, 0x1000)
 {
 }