Module simdutf8::basic[][src]

Expand description

The basic API flavor provides barebones UTF-8 checking at the highest speed.

It is fastest on valid UTF-8, but only checks for errors after processing the whole byte sequence and does not provide detailed information if the data is not valid UTF-8. Utf8Error is a zero-sized error struct.

If you need detailed error information use the functions from the crate::compat module instead.

Modules

imp

Allows direct access to the platform-specific unsafe validation implementations.

Structs

Utf8Error

Simple zero-sized UTF-8 error.

Functions

from_utf8

Analogue to std::str::from_utf8().

from_utf8_mut

Analogue to std::str::from_utf8_mut().