OpenDOF Project
uint8*(* DOFOperationSessionDataTransform::TransformSendData)(DOFOperationSessionDataTransform self, DOFInterfaceID sessionId, uint32 *pSize, uint8 *buffer)

Transform data that will be sent over an OAP Session.

Parameters
selfThe DOFOperationSessionDataTransform this function is being called on. Will never be NULL.
sessionIdThe DOFInterfaceID associated with the OAP session. Will never be NULL.
pSizeA pointer to the length of buffer. If new data is allocated to accommodate the transform, *pSize should be updated to the allocated size.
bufferThe untransformed data. This will never be NULL.
Returns
The transformed data. If the pointer differs from buffer, the returned pointer will be freed using PCRMem_Free.
Return values
NULLAn error occurred while performing the data transformation.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22