Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

String mc.base64ToString(String base64)

将 Base64 字符串解码为文本字符串

参数

参数类型默认值必填说明
base64String是要解码的 Base64 字符串

返回值

类型说明
String解码后的文本字符串

示例代码:

const text = mc.base64ToString('aGVsbG8gbW9yZWNyb3NzIQ==')