js 怎么把blob类型转化为string
js 怎么把blob类型转化为string
日期:2019-07-09 17:13:29 人气:1
function decodeUtf8(bytes) {
var encoded = "";
for (var i = 0; i < bytes.length; i++) {
encoded += '%' + bytes[i].toString(16);
}
return decodeURIComponent(encoded);
}