CheckDataSize
Function Usage
This function is used to check whether the memory size of the MemoryData object meets the requirements. The memory size cannot be 0 bytes.
Prototype
1 | static APP_ERROR MemoryHelper::CheckDataSize(long size); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
size |
Input |
Memory size of the MemoryData object, in bytes. The value range is [1, 4294967296]. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: MemoryHelper