Module simdutf8::basic[][src]

Pure module for maximum speed on valid UTF-8 at the expense of early error detection and error details.

Structs

Utf8Error

Simple UTF-8 error. The SIMD implementation does not provide further information.

Functions

from_utf8

Checks if the byte sequence is valid UTF-8 and returns Ok(str) if it is.

from_utf8_mut

Checks if the byte sequence is valid UTF-8 and returns Ok(str) if it is.