[][src]Crate with_str_bytes

Safely manipulate the bytes of a UTF-8 string.

This library provides helpers to manipulate the bytes of a UTF-8 string without using unsafe. It does not rely on the standard library, and can be used in no_std environments.

Functions

with_str_bytes

Executes a function on the bytes of a string, asserting that it is valid UTF-8.