Deflater Constructor (Int32)

SharpZip Compression Library

SharpZip Compression Library

Deflater Constructor (Int32)

Creates a new deflater with given compression level.

public Deflater(
   int lvl
);

Parameters

lvl
the compression level, a value between NO_COMPRESSION and BEST_COMPRESSION, or DEFAULT_COMPRESSION.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException if lvl is out of range.

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Deflater Constructor Overload List