var u8 = new Uint8Array([65, 66, 67, 68]); var b64encoded = btoa(String.fromCharCode.apply(null, u8));. And to decode the base64 string back ...
確定! 回上一頁