pub fn splatBytes(w: *Writer, bytes: []const u8, n: usize) Error!usize w: *Writerbytes: []const u8n: usizeWriteFailedSee the Writer implementation for detailed diagnostics.
949
950
951pub fn splatBytes(w: *Writer, bytes: []const u8, n: usize) Error!usize {
return writeSplat(w, &.{bytes}, n);
}
Writes the same slice many times, allowing short writes.
Does maximum of one underlying
VTable.drain.