Skip to main content

scan

Function scan 

Source
pub fn scan(buf: &[u8], class: &ByteClass) -> usize
Expand description

Length of the run of bytes at the start of buf that are in class: the index of the first byte outside it, or buf.len().