This is a low-level API that calls the Io interface function directly.
For a higher level API, see writerStreaming.
pub fn writeStreaming(file: File, io: Io, header: []const u8, data: []const []const u8, splat: usize) Writer.Error!usize
pub fn writeStreaming(file: File, io: Io, header: []const u8, data: []const []const u8, splat: usize) Writer.Error!usize {
return (try io.operate(.{ .file_write_streaming = .{
.file = file,
.header = header,
.data = data,
.splat = splat,
} })).file_write_streaming;
}