Skip to main content

别名

  • base64encode
  • base64.encode
  • crypt.base64.encode
  • crypt.base64_encode
  • crypt.base64encode

参数

string
必填
传递给 Base64 encoder 的 Lua string 字节。

返回值

string
以 Lua string 返回的 Base64 输出。

示例

编码一个 Lua string 并打印 Base64 输出。