Module memchr

Source

Structsยง

Memchr
An iterator over all occurrences of a single byte in a haystack.
Memchr2
An iterator over all occurrences of two possible bytes in a haystack.
Memchr3
An iterator over all occurrences of three possible bytes in a haystack.

Functionsยง

count_raw ๐Ÿ”’ โš 
Count all matching bytes, but using raw pointers to represent the haystack.
memchr
Search for the first occurrence of a byte in a slice.
memchr2
Search for the first occurrence of two possible bytes in a haystack.
memchr3
Search for the first occurrence of three possible bytes in a haystack.
memchr2_iter
Returns an iterator over all occurrences of the needles in a haystack.
memchr2_raw ๐Ÿ”’ โš 
memchr2, but using raw pointers to represent the haystack.
memchr3_iter
Returns an iterator over all occurrences of the needles in a haystack.
memchr3_raw ๐Ÿ”’ โš 
memchr3, but using raw pointers to represent the haystack.
memchr_iter
Returns an iterator over all occurrences of the needle in a haystack.
memchr_raw ๐Ÿ”’ โš 
memchr, but using raw pointers to represent the haystack.
memrchr
Search for the last occurrence of a byte in a slice.
memrchr2
Search for the last occurrence of two possible bytes in a haystack.
memrchr3
Search for the last occurrence of three possible bytes in a haystack.
memrchr2_iter
Returns an iterator over all occurrences of the needles in a haystack, in reverse.
memrchr2_raw ๐Ÿ”’ โš 
memrchr2, but using raw pointers to represent the haystack.
memrchr3_iter
Returns an iterator over all occurrences of the needles in a haystack, in reverse.
memrchr3_raw ๐Ÿ”’ โš 
memrchr3, but using raw pointers to represent the haystack.
memrchr_iter
Returns an iterator over all occurrences of the needle in a haystack, in reverse.
memrchr_raw ๐Ÿ”’ โš 
memrchr, but using raw pointers to represent the haystack.