Equivalent to creating a streaming writer, writing bytes, and then flushing.
pub fn writeStreamingAll(file: File, io: Io, bytes: []const u8) Writer.Error!void
pub fn writeStreamingAll(file: File, io: Io, bytes: []const u8) Writer.Error!void {
var index: usize = 0;
while (index < bytes.len) {
index += try writeStreaming(file, io, &.{}, &.{bytes[index..]}, 1);
}
}