[−][src]Function memchr::memchr2
pub fn memchr2(needle1: u8, needle2: u8, haystack: &[u8]) -> Option<usize>
Like memchr
, but searches for two bytes instead of one.
pub fn memchr2(needle1: u8, needle2: u8, haystack: &[u8]) -> Option<usize>
Like memchr
, but searches for two bytes instead of one.