bytes-text

Crates.iobytes-text
lib.rsbytes-text
version0.1.0
sourcesrc
created_at2021-11-11 17:56:07.443622
updated_at2021-11-11 17:56:07.443622
descriptionReference-counted UTF-8 text
homepagehttps://github.com/Cyborus04/bytes-text
repositoryhttps://github.com/Cyborus04/bytes-text
max_upload_size
id480312
size46,975
(Cyborus04)

documentation

README

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.

Commit count: 21

cargo fmt