Zig 0.17.0-dev (Split by item)

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 library itself.

writeVec

If the total number of bytes of data fits inside unusedCapacitySlice, this function is guaranteed to not fail, not call into VTable, and return the total bytes inside data.

Writer.writeVec
pub fn writeVec(w: *Writer, data: []const []const u8) Error!usize

File

lib/std/Io/Writer.zig:174

Code

pub fn writeVec(w: *Writer, data: []const []const u8) Error!usize {
    return writeSplat(w, data, 1);
}