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
void
setBuffer
nothrow
(
Char[] buffer
,
size_t numCharsWritten = 0
)

Parameters

buffer
Type: Char[]

The new buffer

numCharsWritten
Type: size_t

The number of characters already in the buffer

Meta