OpenDOF Project
uint32 DOFValue_Marshal ( const DOFValue  self,
const DOFType  type,
uint32  length,
uint8 buffer 
)

Marshal a DOFValue into an existing buffer.

Parameters
selfThe DOFValue to be marshaled. This must not be NULL.
lengthThe length of the buffer in which to marshal the DOFValue.
bufferThe buffer in which to marshal the DOFValue. This must not be NULL, and must contain at least length bytes.
Returns
The length of the marshaled DOFValue.
Exceptions
Zerois returned if the marshalled DOFValue does not fit in the buffer provided, or an invalid parameter is detected.
See Also
DOFType_CreateInstance
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22