Creates a new DeflaterOutputStream with the given Deflater and buffer size.
Parameters
- baseOutputStream
- The output stream where deflated output is written.
- deflater
- The underlying deflater to use
- bufsize
- The buffer size to use when deflating
Exceptions
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | bufsize is less than or equal to zero. |
ArgumentException | baseOutputStream does not support writing |
ArgumentNullException | deflater instance is null |
See Also
DeflaterOutputStream Class | ICSharpCode.SharpZipLib.Zip.Compression.Streams Namespace | DeflaterOutputStream Constructor Overload List