Encodes save data into the contents of a save file.
Save data, as returned by unpack.
unpack
Platform to encode the save file for.
Contents of the save file.
If pictureData is not a Buffer, Uint8Array or base64 string.
pictureData
Buffer
Uint8Array
Encodes save data into the contents of a save file.