Constantsยง
- DEFAULT_
CINFO ๐ - DEFAULT_
CM ๐ - DEFAULT_
CMF ๐ - FCHECK_
DIVISOR ๐ - The 16-bit value consisting of CMF and FLG must be divisible by this to be valid.
- MIN_CMF ๐
- _DEFAULT_
FDICT ๐
Functionsยง
- add_
fcheck ๐ - Generate FCHECK from CMF and FLG (without FCKECH )so that they are correct according to the specification, i.e (CMF*256 + FCHK) % 31 = 0. Returns flg with the FCHKECK bits added (any existing FCHECK bits are ignored).
- cmf_
from_ ๐flags - header_
from_ flags - Create a zlib header from the given compression flags. Only level is considered.
- header_
from_ ๐level - Get the zlib header for the level using the default window size and no dictionary.
- zlib_
level_ ๐from_ flags