Expand description
UTF-8 encoded text.
A text::Reader<'a>
wraps a &'a [u8]
that is expected but not guaranteed
to contain UTF-8 encoded text.
Structs§
- Wrapper around utf-8 encoded text. This is defined as a tuple struct to allow pattern matching on it via byte literals (for example
text::Reader(b"hello")
).