saveToFile

fun saveToFile(file: File, asBinary: Boolean)

Saves this instance to file.

Parameters

file

The file to save to.

asBinary

If set to true, saves this instance as binary.


fun saveToFile(path: String, asBinary: Boolean)

Saves this instance to file.

Parameters

path

The file path to save to.

asBinary

If set to true, saves this instance as binary.