pub fn find_all_patterns(haystack: &[u8], needle: &[u8]) -> Vec<usize>
Find all occurrences of a pattern in a byte slice.