C1.C1Zip.ZLib Namespace > ZStream Class > deflateInit Method : deflateInit(Int32) Method |
'Declaration
Public Overloads Function deflateInit( _ ByVal level As System.Integer _ ) As System.Integer
public System.int deflateInit( System.int level )
Compression level 1 gives best speed, 9 gives best compression.
Compression level zero gives no compression at all (the input data is simply copied a block at a time).
The default compression level is 6, which provides a compromise between speed and compression.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2