Deflater.SetStrategy Method

SharpZip Compression Library

SharpZip Compression 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