ICSharpCode.SharpZipLib.Zip.Compression.Deflater.SetStrategy C# (CSharp) Method

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;
        }