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.

[Visual Basic]
Public Sub SetStrategy( _
   ByVal stgy As ICSharpCode.SharpZipLib.Zip.Compression.DeflateStrategy _
)
[C#]
public void SetStrategy(
   DeflateStrategy stgy
);

Parameters

stgy

the new compression strategy.

See Also

Deflater Class | Deflater Members | ICSharpCode.SharpZipLib.Zip.Compression Namespace