A safe interface to
Returns the index corresponding to the first occurrence of
None if one is not found.
memchr reduces to super-optimized machine code at around an order of
magnitude faster than
haystack.iter().position(|&b| b == needle).
This shows how to find the first position of a byte in a byte string.