sformat

Append the processed (formatted) input onto the end of the provided buffer

  1. mstring sformat(mstring buffer, cstring fmt, Args args)
  2. mstring sformat(Buffer!(char) buffer, cstring fmt, Args args)
    mstring
    sformat
    (
    Args...
    )
    (
    ref Buffer!(char) buffer
    ,
    cstring fmt
    ,
    Args args
    )
  3. bool sformat(FormatterSink sink, cstring fmt, Args args)

Parameters

buffer Buffer!(char)

The buffer to which to append the formatted string; its capacity will be increased if necessary

fmt cstring

Format string to use

args Args

Variadic arguments to format according to fmt

Return Value

Type: mstring

A reference to buffer

Meta