Deflater.SetLevel Method

Sets the compression level. There is no guarantee of the exact position of the change, but if you call this when needsInput is true the change of compression level will occur somewhere near before the end of the so far given input.

[Visual Basic]
Public Sub SetLevel( _
   ByVal lvl As Integer _
)
[C#]
public void SetLevel(
   int lvl
);

Parameters

lvl

the new compression level.

See Also

Deflater Class | Deflater Members | ICSharpCode.SharpZipLib.Zip.Compression Namespace