Module miniz_oxide::deflate::core::zlib
source ยท Constantsยง
- DEFAUL
T_ ๐CINFO - DEFAUL
T_ ๐CM - DEFAUL
T_ ๐CMF - FCHEC
K_ ๐DIVISOR The 16-bit value consisting of CMF and FLG must be divisible by this to be valid. - MIN_CMF ๐
- _DEFAUL
T_ ๐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 - 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.