Function memx::memchr_qpl
source · pub fn memchr_qpl(
buf: &[u8],
by1: u8,
by2: u8,
by3: u8,
by4: u8
) -> Option<usize>
Expand description
This is same as buf.iter().position(|&x| x == by1 || x == by2 || x == by3 || x == by4)
.