1 unstable release

0.1.0 Nov 11, 2021

#686 in Memory management

Apache-2.0 OR MIT

36KB
589 lines

bytes-text

crates.io docs build status

Text is to Bytes what String is to Vec<u8>

Example

let text = Text::from("Hello, world!");
println!("{}", text);

let hello = text.get(..5).unwrap();
assert_eq!(hello, "Hello");

(this crate is not offically related to bytes)

License

This project is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~185KB