Uint8Array转字符串问题
Uint8Array转字符串用以下方法,模拟器和android上都没问题,ios上SaaS都输出不了值
方法一://var SaaS = new TextDecoder(“utf-8”).decode(uint8Array);
方法二:var SaaS = String.fromCharCode.apply(null, uint8Array);
Uint8Array转字符串用以下方法,模拟器和android上都没问题,ios上SaaS都输出不了值
方法一://var SaaS = new TextDecoder(“utf-8”).decode(uint8Array);
方法二:var SaaS = String.fromCharCode.apply(null, uint8Array);