Updated on 2022-03-13 GMT+08:00

Save

Function Prototype

graphStatus Save(Buffer& buffer) const;

Function Description

Serializes a model object.

Parameter Description

Parameter

Input/Output

Type

Description

buffer

Input

Buffer&

Reference to the serialized output object

Return Value

Parameter

Type

Description

-

graphStatus

If the operation is successful, GRAPH_SUCCESS is returned. Otherwise, GRAPH_FAILED is returned.

Exception Handling

None

Restriction

None