Version 0.1.0
See all bytes_text's items
Text is to Bytes what String is to Vec<u8>
Text
Bytes
String
Vec<u8>
use bytes_text::Text; let text = Text::from("Hello, world!"); println!("{}", text); let hello = text.get(..5).unwrap(); assert_eq!(hello, "Hello");
Immutable, reference counted, UTF-8 text
Mutable UTF-8 text buffer