memchr::arch

Module all

Source
Expand description

Contains architecture independent routines.

These routines are often used as a “fallback” implementation when the more specialized architecture dependent routines are unavailable.

Modules§

Functions§

  • Compare corresponding bytes in x and y for equality.
  • Compare n bytes at the given pointers for equality.
  • Returns true if and only if needle is a prefix of haystack.
  • Returns true if and only if needle is a suffix of haystack.