TextOutput

Output is buffered.

Constructors

this
this(OutputStream output)

Construct a FormatOutput instance, tying the provided stream to a layout formatter.

Inherited Members

From FormatOutput

flush
alias flush = OutputFilter.flush
Undocumented in source.
nl
alias nl = newline
Undocumented in source.
Eol
auto Eol;
Undocumented in source.
format
typeof(this) format(cstring fmt, Args args)

Format the provided arguments to the stream according to the format string

formatln
typeof(this) formatln(cstring fmt, Args args)

Format the provided arguments to the stream according to the format string, and append a newline to the output.

newline
FormatOutput newline()

Output a newline and optionally flush.

flush
FormatOutput flush(bool yes)

Control implicit flushing of newline(), where true enables flushing. An explicit flush() will always flush the output.

stream
OutputStream stream()

Return the associated output stream.

stream
FormatOutput stream(OutputStream output)

Set the associated output stream.

emit
void emit(cstring s)

Sink for passing to the formatter.

Meta