public GZipStream(Stream stream, CompressionMode mode, bool leaveOpen) { _deflateStream = new DeflateStream(stream, mode, leaveOpen, true); }
protected override void Dispose(bool disposing) { try { if (disposing && _deflateStream != null) { _deflateStream.Close(); } _deflateStream = null; } finally { base.Dispose(disposing); } }
public GZipStream(Stream stream, CompressionMode mode, bool leaveOpen) { _deflateStream = new DeflateStream(stream, mode, leaveOpen, true); }