Appender.toString

Gives a string in the form of Appender!(A)(data).

template toString(Writer)
const
void
toString
(
ref Writer w
,
scope const ref std.format.FormatSpec!char fmt
)
if (
isOutputRange!(Writer, char)
)

Parameters

w

A char accepting output range.

fmt

A std.format.FormatSpec which controls how the array is formatted.

Return Value

A string if writer is not set; void otherwise.

Meta

Suggestion Box / Bug Report