摘要: TextEncoder 编码:字符串 -> UTF-8字节流 const encoder = new TextEncoder() const view = encoder.encode('€') console.log(view); // Uint8Array(3) [226, 130, 172] 阅读全文
posted @ 2023-06-28 14:19 litiyi 阅读(1409) 评论(0) 推荐(0) 编辑