Module memchr::memchr

source ยท

Structsยง

  • An iterator over all occurrences of a single byte in a haystack.
  • An iterator over all occurrences of two possible bytes in a haystack.
  • 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.
  • Search for the first occurrence of a byte in a slice.
  • Search for the first occurrence of two possible bytes in a haystack.
  • Returns an iterator over all occurrences of the needles in a haystack.
  • memchr2_raw ๐Ÿ”’ โš 
    memchr2, but using raw pointers to represent the haystack.
  • Search for the first occurrence of three possible bytes in a haystack.
  • Returns an iterator over all occurrences of the needles in a haystack.
  • memchr3_raw ๐Ÿ”’ โš 
    memchr3, but using raw pointers to represent the haystack.
  • Returns an iterator over all occurrences of the needle in a haystack.
  • memchr_raw ๐Ÿ”’ โš 
    memchr, but using raw pointers to represent the haystack.
  • Search for the last occurrence of a byte in a slice.
  • Search for the last occurrence of two possible bytes in a haystack.
  • 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.
  • Search for the last occurrence of three possible bytes in a haystack.
  • 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.
  • 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.