const fn validate_zlib_header(
    cmf: u32,
    flg: u32,
    flags: u32,
    mask: usize,
) -> ActionExpand 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