示例#1
0
 public ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level, bool leaveOpen)
 {
     this._baseStream = new ZlibBaseStream(stream, mode, level, ZlibStreamFlavor.ZLIB, leaveOpen);
 }
示例#2
0
 public DeflateStream(Stream stream, CompressionMode mode, CompressionLevel level = CompressionLevel.Level6, bool leaveOpen = false)
 {
     this._baseStream = new ZlibBaseStream(stream, mode, level, ZlibStreamFlavor.DEFLATE, leaveOpen);
 }