Still wondering a little bit, that conversion to Uint8Array is available for some default data types (e.g. string) and not for others (e.g. integer or decimal).
But shouldn't be that hard to write this functionality.
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.
Still wondering a little bit, that conversion to Uint8Array is available for some default data types (e.g. string) and not for others (e.g. integer or decimal).
But shouldn't be that hard to write this functionality.