Public Member Functions | |
| void | write (dchar c) |
| Writes out a single Unicode character. | |
| void | write (string c) |
| Writes out a string. | |
| void | writeLine (string c) |
| Writes out a string followed by a newline. | |
| void | write (string str) |
| Writes out a string. | |
| void | writeLine (string str) |
| Writes out a string followed by a newline. | |
| void | writef (...) |
| Performs formatted output on the stream. | |
| void | writefln (...) |
| Performs formatted output on the stream. | |
| void | writefx (TypeInfo[] arguments, void *argptr, bool newline=false) |
| Performs formatted output on the stream. | |
| void | flush () |
| Makes sure all pending output has actually been output. | |
This class buffers any incomplete UTF-8 characters that are passed into it. This makes it suited to applications that transmit UTF-8 text one byte at a time, or in chunks whose boundaries may not coincide with character boundaries.
| void smjg.libs.util.console.ConsoleOutput.write | ( | dchar | c | ) |
Writes out a single Unicode character.
| c | character to output. |
| void smjg.libs.util.console.ConsoleOutput.write | ( | string | c | ) |
Writes out a string.
| str | the string to output. |
| void smjg.libs.util.console.ConsoleOutput.writeLine | ( | string | c | ) |
Writes out a string followed by a newline.
| str | the string to output. |
| void smjg.libs.util.console.ConsoleOutput.write | ( | string | str | ) |
Writes out a string.
| str | the string to output. |
| void smjg.libs.util.console.ConsoleOutput.writeLine | ( | string | str | ) |
Writes out a string followed by a newline.
| str | the string to output. |
| void smjg.libs.util.console.ConsoleOutput.writef | ( | ... | ) |
Performs formatted output on the stream.
| void smjg.libs.util.console.ConsoleOutput.writefln | ( | ... | ) |
Performs formatted output on the stream.
| void smjg.libs.util.console.ConsoleOutput.writefx | ( | TypeInfo[] | arguments, | |
| void * | argptr, | |||
| bool | newline = false | |||
| ) |
Performs formatted output on the stream.
| void smjg.libs.util.console.ConsoleOutput.flush | ( | ) |
Makes sure all pending output has actually been output.
1.5.4