Deflater.SetLevel Method

SharpZip Compression Library

SharpZip Compression Library

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.

public void SetLevel(
   int lvl
);

Parameters

lvl
the new compression level.

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace