Does the Storage module support reading/writing binary data?
StorageFile does not (as it uses 0xFF for internal purposes)
I do not want to use atob/btoa as these do not really support "chunking" (i.e., chunks read must always be of the same size as chunks written)
if possible, I would like to read/write ArrayBuffers - is that possible?
(an alternative question could be: are strings in Bangle.js Unicode strings? or ASCII ones? if the latter, strings could be used instead of ArrayBuffers, making "binary" I/O just identical to "text" I/O)
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.
Hello again!
Does the
Storage
module support reading/writing binary data?StorageFile
does not (as it uses 0xFF for internal purposes)ArrayBuffer
s - is that possible?(an alternative question could be: are strings in Bangle.js Unicode strings? or ASCII ones? if the latter, strings could be used instead of ArrayBuffers, making "binary" I/O just identical to "text" I/O)
Thanks in advance for your help!