Creates a new deflater with given compression level.
[Visual Basic]
Overloads Public Sub New( _
   ByVal lvl As Integer _
)
[C#]
public Deflater(
   int lvl
);
Parameters
lvl
the compression level, a value between NO_COMPRESSION and BEST_COMPRESSION, or DEFAULT_COMPRESSION.
Exceptions
Exception Type | Condition |
---|---|
System.ArgumentOutOfRangeException | if lvl is out of range. |
See Also
Deflater Class | Deflater Members | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Deflater Constructor Overload List