Skip to main content

skip_vec

Function skip_vec 

Source
fn skip_vec(buf: &[u8], p: usize, len_bytes: usize, ceiling: usize) -> Skip
Expand description

Skips a length-prefixed vector: reads a len_bytes-wide (1 or 2) big-endian length at p, then skips that many bytes, all bounded by ceiling.