Create a DOFObjectID from a given DOFObjectID buffer.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFObjectID_Destroy.
- Parameters
-
bufferSize | The size, in bytes, of the given data buffer at buffer. |
buffer | Pointer to the given buffer. This should not be NULL, and should represent a valid DOFObjectID in wire format of the given size. |
- Returns
- A newly created DOFObjectID.
- Exceptions
-
NULL | is returned if
- an invalid parameter is detected; or
- insufficient resources exist to create the DOFObjectID.
|