saveToFile

open fun saveToFile(path: File, binary: Boolean)

Saves this instance to file.

Parameters

path

The file path to save to.

binary

If set to true, saves this instance as binary.

Throws

exception while writing to the file