对字符串进行 base64 编码 (string.base64_encode)

声明

b64文本 = string.base64_encode(数据内容)

参数及返回值

  • 数据内容
    • 字符串型,原始字符串
  • b64文本
    • 文本型,返回字符串的 base64 编码文本

说明

对字符串 (或二进制数据块) 进行 base64 编码

示例

本章最后

results matching ""

    No results matching ""