let u8a=new Uint8Array(10);    u8a.set([0x3d],0)    console.log(Buffer.from(u8a,'hex'));const buffer = require('buffer');const newBuf = buffer.transcode(Buffer.from('€'), 'utf8', 'ascii');console.log(newBuf.toString('ascii'));

 

TAG标签: 微信小程序uint8array

http://www.xiaochengxub.com/read-101747.html