Skip to main content

fwrite

Function fwrite 

Source
pub fn fwrite<T: NoUninit, W: Write + ?Sized>(
    buf: &[T],
    w: &mut W,
) -> (usize, Result<()>)
Expand description

Writes binary output from buf to w.

Returns the number of complete elements written and any I/O error.