OpenDOF Project
DOSStatus DOSValue_Get_BLOB ( uint32 len,
const uint8 **  buf 
)

Unmarshal a BLOB from the receive buffer.

This does not copy data, and only sets the given pointer to the start of the BLOB in the receive buffer. This may also be used for strings that may contain embedded NULL characters (valid for some wide-character string encodings).

Parameters
lenPointer to a uint32 to hold the length of the BLOB. Only valid if DOSSTATUS_SUCCESS is returned. Must not be NULL.
bufPointer to a uint8 pointer for access to the BLOB within the receive buffer. The value is not copied from the receive buffer. Only valid if DOSSTATUS_SUCCESS is returned. Must not be NULL.
Returns
DOSSTATUS_SUCCESS if everything went ok; otherwise error.
core-c-cos Version 7.0.1 Build 0
2018-02-08