Exception if a key/section name or value cannot be represented in the
INI format (see save), or StdioException on I/O failure.
void toIni(var v, string filename, IniPolicy policy = IniPolicy.init)Serializes a var object to INI format and writes to a file.
v | The var object to serialize. |
filename | Destination file path. |
policy | Configuration policy. |
Exception if a key/section name or value cannot be represented in the
INI format (see save), or StdioException on I/O failure.
string toIni(var v, IniPolicy policy = IniPolicy.init)Serializes a var object to INI format.
v | The var object to serialize. |
policy | Configuration policy. |