lua 中怎样将string类型转换为byte数组

如题所述

方法如下:
local str = "good morning"
print(string.byte(str,1,-1))
温馨提示:答案为网友推荐,仅供参考
相似回答
大家正在搜