首页标签16进制
  • js 字符串与16进制互转

    functionstrToUtf8Bytes(str){constutf8=[];for(letii=0;ii>12),0x80|((charCode>>6)&0x3f),0x80|(charCode&0x3f));}else{ii++;charCode=0x10000+(((charCode&0x3ff)18),0x80|((charCode>>12)&0x3f),0x80|((charCode…