Answers for "converting string in Array<Buffer | Uint8Array>"

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