Skip to main content

find_crlf

Function find_crlf 

Source
pub fn find_crlf(buf: &[u8], start: usize) -> Option<usize>
Expand description

Find \r\n at or after start, returning the index of \r. Returns None if absent or if fewer than two bytes remain.