Buils a message to a buffer similarly to writef/writefln, but without using GC.
C snprintf would be better, but it isn't pure. formattedWrite isn't completely @nogc yet (although it isn't GC-heavy).
The user has to ensure buffer is long enough - an assert checks that we don't run out of space. Currently this can only write strings and dchars.
See Implementation
Buils a message to a buffer similarly to writef/writefln, but without using GC.
C snprintf would be better, but it isn't pure. formattedWrite isn't completely @nogc yet (although it isn't GC-heavy).
The user has to ensure buffer is long enough - an assert checks that we don't run out of space. Currently this can only write strings and dchars.