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