Composer.setBuffer

Set the composer's buffer to buffer. This is to enable the creation of dynamic buffers.

struct Composer(Char, size_t buffSize = runtime, OverflowPolicy policy = OverflowPolicy.assertFalse)
@safe @nogc nothrow
void
setBuffer
(
Char[] buffer
,
size_t numCharsWritten = 0
)

Parameters

buffer Char[]

The new buffer

numCharsWritten size_t

The number of characters already in the buffer

Meta