Window btoa() 方法

76 阅读1分钟

btoa() 方法用于创建一个 base-64 编码的字符串。

该方法使用 "A-Z", "a-z", "0-9", "+", "/" 和 "=" 字符来编码字符串。

base-64 解码使用方法是 atob() 。