AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
xthrift.lua 文件参考

函数

function xthrift load (buffer)
 
function xthrift load_file (path)
 
function xthrift decode (name, pbBuffer)
 
function xthrift decode_file (name, filePath)
 

变量

 xthrift = {}
 

函数说明

◆ decode()

function xthrift decode ( name  ,
pbBuffer   
)

反序列化

参数
namestring thrift实体名称
pbBufferstring thrift数据流
返回
table

◆ decode_file()

function xthrift decode_file ( name  ,
filePath   
)

反序列化

参数
namestring thrift实体名称
pbBufferstring thrift数据文件绝对路径
返回
table

◆ load()

function xthrift load ( buffer  )

加载thrift类型描述文件

参数
pathstring thrift描述文件数据
返回
void

◆ load_file()

function xthrift load_file ( path  )

加载thrift类型描述文件

参数
pathstring thrift文件绝对路径
返回
void

变量说明

◆ xthrift

xthrift = {}