Trait method lrs::fmt::Write::gather_write

Writes multiple buffers to the byte-stream.

Syntax

fn gather_write(&mut self, buf: &[&[u8]]) -> Result<usize, Errno>

Arguments

NameDescription
buf

The buffers to be written.

Return value

Returns the total number of bytes written.

Remarks

The method starts at the first buffer and writes each buffer completely before moving to the next one.