Module _Gz
- Description
Low-level interface to zlib.
- Note
You typically do not want to access this module directly. Use the Gz module instead.
- See also
- Constant
DEFAULT_STRATEGY
constant_Gz.DEFAULT_STRATEGY- Description
The default strategy as selected in the zlib library.
- Constant
FILTERED
constant_Gz.FILTERED- Description
This strategy is intented for data created by a filter or predictor and will put more emphasis on huffman encoding and less on LZ string matching. This is between DEFAULT_STRATEGY and HUFFMAN_ONLY.
- Constant
FIXED
constant_Gz.FIXED- Description
In this mode dynamic huffman codes are disabled, allowing for a simpler decoder for special applications. This mode is not available in all zlib versions.
- Constant
HUFFMAN_ONLY
constant_Gz.HUFFMAN_ONLY- Description
This strategy will turn of string matching completely, only doing huffman encoding. Window size doesn't matter in this mode and the data can be decompressed with a zero size window.