pub fn fwrite<T: NoUninit, W: Write + ?Sized>( buf: &[T], w: &mut W, ) -> (usize, Result<()>)
Writes binary output from buf to w.
buf
w
Returns the number of complete elements written and any I/O error.