Example #1
0
 /// <summary>
 /// Flush the stream.
 /// </summary>
 public override void Flush()
 {
     if (_disposed)
     {
         throw new ObjectDisposedException("DeflateStream");
     }
     _baseStream.Flush();
 }
Example #2
0
 /// <summary>
 /// Flush the stream.
 /// </summary>
 public override void Flush()
 {
     if (disposed)
     {
         throw new ObjectDisposedException("GZipStream");
     }
     BaseStream.Flush();
 }