Function beginWriteRaw [src]
An alternative to calling write that allows you to write directly to the .writer field, e.g. with .writer.writeAll().
Call beginWriteRaw(), then write a complete value (including any quotes if necessary) directly to the .writer field,
then call endWriteRaw().
This can be useful for streaming very long strings into the output without needing it all buffered in memory.
Prototype
pub fn beginWriteRaw(self: *Stringify) !void Parameters
self: *Stringify Source
pub fn beginWriteRaw(self: *Stringify) !void {
if (build_mode_has_safety) {
assert(self.raw_streaming_mode == .none);
self.raw_streaming_mode = .value;
}
try self.valueStart();
}