#byte #utf-8 #str #ascii #safe #string

no-std with-str-bytes

Safely manipulate the bytes of a UTF-8 string

1 stable release

1.0.0 Jan 24, 2021

#2199 in Encoding

MIT/Apache

6KB
85 lines

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.

License: MIT OR Apache-2.0


lib.rs:

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.

No runtime deps