Deflater Constructor (Int32)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

Deflater Constructor (Int32)

Creates a new deflater with given compression level.

public Deflater(
   int level
);

Parameters

level
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