Toml Writer
Functions
Link copied to clipboard
Ends an array of table head (no whitespace).
Link copied to clipboard
Ends an inline table (no whitespace).
Link copied to clipboard
Ends a regular table head (no whitespace).
Link copied to clipboard
Starts a block array or inline array (no whitespace).
Link copied to clipboard
Starts an array of table head (no whitespace).
Link copied to clipboard
Starts a comment (no whitespace).
Link copied to clipboard
Starts an inline table (no whitespace).
Link copied to clipboard
Starts a regular table head (no whitespace).
Link copied to clipboard
Link copied to clipboard
Writes boolean as value.
Link copied to clipboard
open fun writeByteValue(byte: Byte, base: TomlInteger.Base = Dec, group: Int = 0, uppercase: Boolean = true)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Writes an element separator (no whitespace).
Link copied to clipboard
Link copied to clipboard
Writes float as value.
Link copied to clipboard
Writes indentation.
Link copied to clipboard
abstract fun writeIntegerValue(integer: Long, base: TomlInteger.Base = Dec, group: Int = 0, uppercase: Boolean = true)
Writes integer as value.
Link copied to clipboard
open fun writeIntValue(int: Int, base: TomlInteger.Base = Dec, group: Int = 0, uppercase: Boolean = true)
Link copied to clipboard
Writes a key separator (no whitespace).
Link copied to clipboard
Writes a key-value separator (no whitespace).
Link copied to clipboard
Writes a line feed.
Link copied to clipboard
open fun writeLongValue(long: Long, base: TomlInteger.Base = Dec, group: Int = 0, uppercase: Boolean = true)
Link copied to clipboard
Writes null as value.
Link copied to clipboard
Link copied to clipboard
open fun writeShortValue(short: Short, base: TomlInteger.Base = Dec, group: Int = 0, uppercase: Boolean = true)
Link copied to clipboard
Writes a whitespace.
Link copied to clipboard
Writes string directly.
Link copied to clipboard
abstract fun writeStringValue(string: String, isMultiline: Boolean = false, isLiteral: Boolean = false)
Writes string as value.