- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4
zlib.Deflater.Strategy
        Andrew Lambert edited this page Jun 15, 2018 
        ·
        9 revisions
      
     Dim Strategy As IntegerGets and sets the compression Strategy for the stream. Can be changed at any time. The compression strategy can be one of these constants:
| Name | Comment | 
|---|---|
| Z_DEFAULT_STRATEGY | The default strategy. Suitable for general purposes. | 
| Z_FILTERED | Emphasize Huffman Encoding over string-matching. Suitable for data containing mostly small values with a uniform distribution. | 
| Z_HUFFMAN_ONLY | Force Huffman Encoding only. | 
| Z_RLE | Use run-length encoding. Suitable for data containing long sequences of identical bytes. | 
| Z_FIXED | Use the fixed Huffman codes defined in RFC1951#3.2.6. | 
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.