Function naive_opt::string_rsearch_bytes [−][src]
pub fn string_rsearch_bytes(haystack: &[u8], needle: &[u8]) -> Option<usize>
reverse search the needle in the haystack bytes
return index of the haystack, if it found the needle. Otherwise return None.