This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
writeFileStream
Public Function
std.tar.Writer.writeFileStream
pubfnwriteFileStream(
w: *Writer,
/// Assumed to use `/` for any path separators.sub_path: []constu8,
size: u64,
reader: *Io.Reader,
options: Options,
) WriteFileStreamError!void
Writes file reading file content from reader. Reads exactly size bytes from reader, or returns error.EndOfStream.
Writes file reading file content from
reader. Reads exactlysizebytes fromreader, or returnserror.EndOfStream.