pub trait Output { // Required method fn write(&mut self, bytes: &[u8]) -> Result<(), Error>; // Provided method fn push_byte(&mut self, byte: u8) -> Result<(), Error> { ... } }
Allows writing of data.
Write bytes to the output buffer.
Write a single byte to the output buffer.