# 字符串与uint8array相互转化

  • string2Uint8Array 字符串转uit8array
  • uintArray2String uint8Array转字符串

# 代码演示

# Demo

import { string2Uint8Array,uintArray2String } from 'm-utilsdk/index';

string2Uint8Array(str); 
uintArray2String(array)