pub unsafe fn get_header<'a>(
stream: &mut InflateStream<'a>,
head: Option<&'a mut gz_header>,
) -> ReturnCode
Expand description
ยงSafety
The caller must guarantee:
- If
head
isSome
:- If
head.extra
is not NULL, it must be writable for at leasthead.extra_max
bytes - if
head.name
is not NULL, it must be writable for at leasthead.name_max
bytes - if
head.comment
is not NULL, it must be writable for at leasthead.comm_max
bytes
- If