Load
Function Prototype
static graphStatus Load(const uint8_t* data, size_t len, Model& model);
Function Description
Loads serialized data and deserializes a model object.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
data |
Input |
const uint8_t * |
Pointer to serialized data |
len |
Input |
size_t |
Length of serialized data |
model |
Output |
Model & |
Deserialized model 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot