文档
注册

LoadFromMem

函数功能

从内存中读取序列化后Graph。

函数原型

graphStatus LoadFromMem(const GraphBuffer &graph_buffer);
graphStatus LoadFromMem(const uint8_t *data, const size_t len);

参数说明

参数名

输入/输出

描述

graph_buffer

输入

读取的graph的buffer。

data

输入

读取的graph的内存起始位置。

len

输入

读取的graph的内存长度。

返回值

参数名

类型

描述

-

graphStatus

GRAPH_SUCCESS(0): 成功。

其他值:失败。

异常处理

无。

约束说明

无。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词