kernel::utilities::binary_writeTrait BinaryWrite
Source pub trait BinaryWrite {
// Required method
fn write_buffer(&mut self, buffer: &[u8]) -> Result<usize, ()>;
}
Expand description
Interface for writing an arbitrary buffer.
Write the buffer
to some underlying print mechanism.
Returns Ok(usize)
on success with the number of bytes from buffer
that were written. Returns Err(())
on any error.