對Uint8Array進行base64編碼:. 复制代码. var u8 = new Uint8Array([65, 66, 67, 68]); var b64encoded = btoa(String.fromCharCode.apply(null, u8));.
確定! 回上一頁