encoding::codec

Module utf_8

Source
Expand description

UTF-8, the universal encoding.

Structs§

Functions§

  • Almost equivalent to std::str::from_utf8. This function is provided for the fair benchmark against the stdlib’s UTF-8 conversion functions, as rust-encoding always allocates a new string.