Create a new DOFValue to hold a single value of type BLOB (uint8 *).
- Resource Management:
- This function allocates resources that must later be freed by calling DOFValue_Destroy.
- Parameters
-
blobSize | The size of the BLOB data. |
val | The BLOB (uint8 *) value to be held by the new DOFValue. This must not be NULL if blobSize > 0. |
- Returns
- The new DOFValue, representing a single value of type BLOB (uint8 *).
- Exceptions
-
NULL | is returned if the resulting DOFValue could not be created, or an invalid parameter was detected. |