Skip to main content

skip_ows

Function skip_ows 

Source
pub fn skip_ows(s: &[u8]) -> usize
Expand description

The number of leading SP and HTAB bytes in s.

ยงExamples

assert_eq!(parse_net::text::skip_ows(b" \t x"), 3);