Function write

Source
pub(crate) fn write(
    output: &mut (impl Write + ?Sized),
    bytes: &[u8],
) -> Result<usize>
Available on crate feature formatting only.
Expand description

Write all bytes to the output, returning the number of bytes written.