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