Crate memchr[][src]

This crate defines two functions, memchr and memrchr, which expose a safe interface to the corresponding functions in libc.

Structs

Memchr

An iterator for memchr

Memchr2

An iterator for Memchr2

Memchr3

An iterator for Memchr3

Constants

HI_U64
HI_USIZE
LO_U64
LO_USIZE
USIZE_BYTES

Functions

contains_zero_byte

Return true if x contains any zero byte.

memchr

A safe interface to memchr.

memchr2

Like memchr, but searches for two bytes instead of one.

memchr3

Like memchr, but searches for three bytes instead of one.

memrchr

A safe interface to memrchr.

repeat_byte