OpenDOF Project
DOFObjectID DOFObjectID_Create_Bytes ( uint32  bufferSize,
const uint8 buffer 
)

Create a DOFObjectID from a given DOFObjectID buffer.

Resource Management:
This function allocates resources that must later be freed by calling DOFObjectID_Destroy.
Parameters
bufferSizeThe size, in bytes, of the given data buffer at buffer.
bufferPointer 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
NULLis returned if
  • an invalid parameter is detected; or
  • insufficient resources exist to create the DOFObjectID.
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25