Deflater.SetStrategy Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

Deflater.SetStrategy 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 void SetStrategy(
   DeflateStrategy strategy
);

Parameters

strategy
The new compression strategy.

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace