Ionic Zip Library v1.9.1.6
SetDeflateParams Method (level, strategy)
Reference ► Ionic.Zlib ► ZlibCodec ► SetDeflateParams(CompressionLevel, CompressionStrategy)
Set the CompressionStrategy and CompressionLevel for a deflation session.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int SetDeflateParams( CompressionLevel level, CompressionStrategy strategy )
Public Function SetDeflateParams ( _ level As CompressionLevel, _ strategy As CompressionStrategy _ ) As Integer
public: int SetDeflateParams( CompressionLevel level, CompressionStrategy strategy )
Parameters
- level (CompressionLevel)
- the level of compression to use.
- strategy (CompressionStrategy)
- the strategy to use for compression.
Return Value
Z_OK if all goes well.