Answers for "TextEncoder javascript byte array tostring"

3

uint8array to string

var uint8array = new TextEncoder("utf-8").encode("¢");
var string = new TextDecoder("utf-8").decode(uint8array);
Posted by: Guest on August-16-2020

Browse Popular Code Answers by Language