-
Uint8Array to string (characters). I'm currently doing this jsconsole.com/?a%20%3D%20new%20Uint8Array%28%5B104%2C%20101%2C%2097%2C%20114%2C%20116%5D%29%3B%0AArray.from%28a.slice%280%2C%205%29%29%0A%20%20%20%20.map%28_%20%3D%3E%20String.fromCharCode%28_%29%29%0A%20%20%20%20.join%28%27%27%29%3B which seems…overkill and wrong?
-
Sure, I can simplify to drop the
.mapfor an arg to.from, but wonder whether I can simply cast Uint8Array to String?