Skip to main content

max_header_bytes

Function max_header_bytes 

Source
fn max_header_bytes(header: &[u8]) -> usize
Expand description

The most bytes of a new stream that are read before giving up on finding where it becomes byte aligned: 4, or 5 for a large window size. That fits an uncompressed first meta-block of up to 1 MiB (five length nibbles), or metadata with up to two length bytes.