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.
Structs§
- Utf8
Error - 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().