pub trait WriteZeroes {
// Required method
fn write_zeroes(&mut self, length: usize) -> Result<usize>;
}Expand description
A trait for writing zeroes to a stream.
Required Methods§
Sourcefn write_zeroes(&mut self, length: usize) -> Result<usize>
fn write_zeroes(&mut self, length: usize) -> Result<usize>
Write length bytes of zeroes to the stream, returning how many bytes were written.