Function twoway::find_bytes [] [src]

pub fn find_bytes(text: &[u8], pattern: &[u8]) -> Option<usize>

find_bytes finds the first ocurrence of pattern in the text.

Uses the SSE42 version if it is compiled in.