Function miniz_oxide::inflate::core::validate_zlib_header
source ยท const fn validate_zlib_header(
cmf: u32,
flg: u32,
flags: u32,
mask: usize,
) -> Action
Expand description
Check that the zlib header is correct and that there is enough space in the buffer for the window size specified in the header.
See https://tools.ietf.org/html/rfc1950