Toml Native Writer
A TomlWriter that writes TOML string to nativeWriter.
Note that this writer only wraps the native writer, so the following requirements should be met:
Pass in a buffered native writer. 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.encodeToNativeWriter 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.