memrchr

Function memrchr 

Source
pub fn memrchr(needle: u8, haystack: &[u8]) -> Option<usize>
Expand description

Reverse memchr - finds the last occurrence of a byte.

Uses AVX2 SIMD when available.