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