pub unsafe fn get_header<'a>(
stream: &mut InflateStream<'a>,
head: Option<&'a mut gz_header>,
) -> ReturnCodeExpand description
ยงSafety
The caller must guarantee:
- If
headisSome:- If
head.extrais not NULL, it must be writable for at leasthead.extra_maxbytes - if
head.nameis not NULL, it must be writable for at leasthead.name_maxbytes - if
head.commentis not NULL, it must be writable for at leasthead.comm_maxbytes
- If