OpenDOF Project
DOFInterfaceID DOFInterfaceID_Create_Bytes ( uint32  dataSize,
const uint8 data 
)

Create an Interface ID from a given Interface ID buffer.

Resource Management:
This function allocates resources that must later be freed by calling DOFInterfaceID_Destroy.
Parameters
dataSizeThe size, in bytes, of the Interface ID buffer at data. This should not exceed the actual size of the Interface ID.
dataPointer to the given buffer. This should not be NULL, and should contain the bytes representing a legal Interface ID.
Returns
The newly created DOFInterfaceID.
Exceptions
NULLis returned if an invalid parameter is detected, or the required resources cannot be allocated.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22