Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ICSharpCode
SharpZipLib
Zip
Compression
Deflater
SetStrategy
ICSharpCode.SharpZipLib.Zip.Compression.Deflater.SetStrategy C# (CSharp) Method
Deflater Class Documentation
Show file
Open project: icsharpcode/SharpZipLib
SetStrategy()
public
method
Sets the compression strategy. Strategy is one of DEFAULT_STRATEGY, HUFFMAN_ONLY and FILTERED. For the exact position where the strategy is changed, the same as for SetLevel() applies.
public
SetStrategy
(
DeflateStrategy
strategy
) :
void
strategy
DeflateStrategy
/// The new compression strategy. ///
return
void
public void SetStrategy(DeflateStrategy strategy) { engine.Strategy = strategy; }
Deflater
Deflate
Deflater
Finish
Flush
GetLevel
Reset
SetDictionary
SetInput
SetLevel
SetStrategy