Module artichoke_backend::string
source · [−]Expand description
Utilities for working with Ruby String
s.
In Ruby, String
is a Vec<u8>
with an optional encoding. String
s
default to UTF-8 encoding but this does not require the byte vector to
contain valid UTF-8.
Artichoke aims to support ASCII, UTF-8, maybe UTF-8, and binary encodings.
Structs
Error type for format_unicode_debug_into
.
Functions
Write a UTF-8 debug representation of a byte slice into the given writer.