pub fn writeStreaming(file: File, io: Io, header: []const u8, data: []const []const u8, splat: usize) Writer.Error!usize
This is a low-level API that calls the Io interface function directly. For a higher level API, see writerStreaming.
Io
writerStreaming
file: File
io: Io
header: []const u8
data: []const []const u8
splat: usize
610 611 612 613 614 615 616 617
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; }
This is a low-level API that calls the
Iointerface function directly. For a higher level API, seewriterStreaming.