函数名

encodeBase64(str)

函数介绍

方法名称:字符串base64编码

参数说明:
str:待编码的字符串


返回值:base64编码结果

函数例子

local ret = encodeBase64("欢迎使用一键玩PC版")
print("encode:",ret)