Closed dtolnay closed 2 years ago
I don't know of this being useful. Directly use to_writer instead if you need bytes for I/O, or use to_string + https://doc.rust-lang.org/std/string/struct.String.html#method.into_bytes if you really need the Vec<u8>.
to_writer
to_string
Vec<u8>
I don't know of this being useful. Directly use
to_writer
instead if you need bytes for I/O, or useto_string
+ https://doc.rust-lang.org/std/string/struct.String.html#method.into_bytes if you really need theVec<u8>
.