Skip to main content

read_bin_advance

Function read_bin_advance 

Source
pub fn read_bin_advance<'a>(buf: &'a [u8], off: &mut usize) -> Option<&'a [u8]>
Expand description

Read a bin value at *off, advancing *off past it. Zero-copy — the returned slice borrows from buf. Returns None for non-bin tags or truncated input.