Expand description
UTF-8 string byte buffer representation with validation amortization.
Structsยง
- UTF-8 string byte buffer representation with validation amortization. When
StrBytes
is constructed from a&str
orString
, its underlying bytes are assumed to be valid UTF-8. Otherwise, if constructed from a byte source, the construction will be fallible.