GZipOutputStream.SetLevel Method

SharpZip Compression Library

SharpZip Compression Library

GZipOutputStream.SetLevel Method 

Sets the active compression level (1-9). The new level will be activated immediately.

public void SetLevel(
   int level
);

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Level specified is not supported.

See Also

GZipOutputStream Class | ICSharpCode.SharpZipLib.GZip Namespace