Use this function to get a pointer to the data buffer associated with (and owned by) the message object specified in the message argument. This function is typically used by output nodes.
const CciByte* cniBufferPointer(
int* returnCode,
CciMessage* message);
If successful, the address of the data buffer is returned. Otherwise, zero (CCI_NULL_ADDR) is returned, and the returnCode parameter indicates the reason for the error.