Android 如何在javascript中将bufferarray转换为html
如何在java脚本中将缓冲区数组转换为html。 我试过这个:Android 如何在javascript中将bufferarray转换为html,android,Android,如何在java脚本中将缓冲区数组转换为html。 我试过这个: if (!("TextEncoder" in window)) alert("Sorry, this browser does not support TextEncoder..."); var enc = new TextEncoder(); // always utf-8 console.log(enc.encode("This is a string converted
if (!("TextEncoder" in window))
alert("Sorry, this browser does not support TextEncoder...");
var enc = new TextEncoder(); // always utf-8
console.log(enc.encode("This is a string converted to a Uint8Array"));
这回答了你的问题吗?