Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern crate istring;
- use istring::Istring;
- fn main() {
- let buf = Vec![1, 2, 3, 4, 5];
- let istr = Istring::from_utf8(buf);
- println!("Hello, world! {:#}", istr);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement