Composer.write

Composes a message from arguments. Anything that was previously written to the composer will be cleared.

If the buffer reaches capacity before the composition can be completed, the composer will enact the selected overflow policy.

The callback policy is special, in that it will retry the failed composition after the callback has been called. This is to allow callbacks to grow a composer as needed. If the retry fails, the function exits.

struct Composer(Char, size_t buffSize = runtime, OverflowPolicy policy = OverflowPolicy.assertFalse)
ref
write
(
A...
)
()

Parameters

args
Type: A

The components of the message to join

Meta