Toml Stream Writer
A TomlWriter that writes TOML string to outputStream.
Note that this writer only wraps the stream, so the following requirements should be met:
Pass in a buffered stream. The writer itself won't buffer in any way.
Call close when finished, or use AutoCloseable.use for short.
Use with Toml.encodeToWriter to encode objects. This is useful for concatenating two TOML streams. However, programmer should prefer Toml.encodeToStream if only one object is being encoded.
Functions
Ends an array of table head (no whitespace).
Ends an inline table (no whitespace).
Ends a regular table head (no whitespace).
Starts a block array or inline array (no whitespace).
Starts an array of table head (no whitespace).
Starts a comment (no whitespace).
Starts an inline table (no whitespace).
Starts a regular table head (no whitespace).
Writes boolean as value.
Writes an element separator (no whitespace).
Writes float as value.
Writes indentation.
Writes integer as value.
Writes a key separator (no whitespace).
Writes a key-value separator (no whitespace).
Writes a line feed.
Writes null as value.
Writes a whitespace.
Writes string directly.
Writes string as value.