CopyFrom
Function Prototype
static Buffer CopyFrom(std::uint8_t* data, std::size_t bufferSize);
Function Description
Copies bufferSize based on the address to which the pointer in data points, and saves the data address to buffer.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
data |
Input |
uint8_t* |
Pointer to the data to be copied |
bufferSize |
Input |
size_t |
Size of the data to be copied |
Return Value
Parameter |
Type |
Description |
---|---|---|
- |
Buffer |
Buffer object for storing the copied data |
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