Deflater.SetLevel Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class 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 level
);

Parameters

level
the new compression level.

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace