Yes, if you have a standard storage file you can write binary data to it.
Easiest thing to do is give it a go, but I'm pretty sure you can just do
require("Storage").write("MyFile", new Uint8Array([....]))
When you read, I think you'll still get a String, but it's easy to convert with
Ok, I will try it, thanks!
Storagemodule support reading/writing binary data?
StorageFiledoes not (as it uses 0xFF for internal purposes)
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)
Thanks in advance for your help!