pub fn splatByteAll(w: *Writer, byte: u8, n: usize) Error!void
Writes the same byte many times, performing the underlying write call as many times as necessary.
w: *Writer
byte: u8
n: usize
WriteFailed
See the Writer implementation for detailed diagnostics.
Writer
858 859 860 861
pub fn splatByteAll(w: *Writer, byte: u8, n: usize) Error!void { var remaining: usize = n; while (remaining > 0) remaining -= try w.splatByte(byte, remaining); }
Writes the same byte many times, performing the underlying write call as many times as necessary.