... or perhaps there's no need to save the data in binary format? You could just convert it to a string with JSON.stringify and save that, then convert the string back with JSON.parse?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
... or perhaps there's no need to save the data in binary format? You could just convert it to a string with
JSON.stringify
and save that, then convert the string back withJSON.parse
?