Function formatText [src]
Prototype
pub fn formatText( bytes: []const u8, comptime fmt: []const u8, options: FormatOptions, writer: anytype, ) !void
Parameters
bytes: []const u8
fmt: []const u8
options: FormatOptions
Source
pub fn formatText(
bytes: []const u8,
comptime fmt: []const u8,
options: FormatOptions,
writer: anytype,
) !void {
comptime checkTextFmt(fmt);
return formatBuf(bytes, options, writer);
}