Here\'s my code:
let mut altbuf: Vec = Vec::new(); // Stuff here... match stream.read_byte() { Ok(d) => altbuf.push(d), Err(e) => { pri
Use the write method from std::io:
write
std::io
use std::{io, io::Write}; fn main() -> io::Result<()> { io::stdout().write(b"March\n")?; Ok(()) }
It prints a slice of u8, also known as a bytestring.
u8
io::stdout