SaveToMem
Description
Saves the serialized graph to the memory.
Prototype
graphStatus SaveToMem(GraphBuffer &graph_buffer) const;
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
graph_buffer |
Output |
Buffer of the saved graph. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
GRAPH_SUCCESS(0) on success; else, failure. |
Restrictions
None
Parent topic: Graph Construction APIs