Sunday, 29 September 2013

How do I convert vector of bytes (u8) to string in Rust 0.8?

How do I convert vector of bytes (u8) to string in Rust 0.8?

I am trying to write simple tcp/ip client in Rust and I need to print out
my buffer I got from the server. How do I convert the u8 vector to string
for printing?

No comments:

Post a Comment