TerminalWriter class

TerminalWriter class

Provides writing to a text stream.

The TerminalWriter type exposes the following members:

Properties

PropertyDescription
encodingReturns the character encoding in which the output is written.
new_lineGets or sets the line terminator string used by the current TextWriter.

Methods

MethodDescription
write_lineWrites a line terminator to the text stream.
write_lineWrites the text representation of a Boolean value to the text stream, followed by a line terminator.
write_lineWrites a string to the text stream, followed by a line terminator.
write_lineWrites a character to the text stream, followed by a line terminator.
write_lineWrites an array of characters to the text stream, followed by a line terminator.
write_line
write_lineWrites the text representation of a 8-byte floating-point value to the text stream, followed by a line terminator.
write_lineWrites the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator.
write_lineWrites the text representation of a 4-byte signed integer to the text stream, followed by a line terminator.
write_lineWrites the text representation of an 8-byte signed integer to the text stream, followed by a line terminator.
write_lineWrites the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator.
write_lineWrites the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator.
writeWrites the text representation of a Boolean value to the text stream.
writeWrites a character to the text stream.
writeWrites a string to the text stream.
writeWrites a character array to the text stream.
write
writeWrites the text representation of an 8-byte floating-point value to the text stream.
writeWrites the text representation of a 4-byte floating-point value to the text stream.
writeWrites the text representation of a 4-byte signed integer to the text stream.
writeWrites the text representation of an 8-byte signed integer to the text stream.
writeWrites the text representation of a 4-byte unsigned integer to the text stream.
writeWrites the text representation of an 8-byte unsigned integer to the text stream.
flushClears all buffers for the current writer and causes any buffered data to be written to the underlying device.
closeCloses the current writer and releases any system resources associated with the writer.

See Also