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
-
len | Pointer to a uint32 to hold the length of the BLOB. Only valid if DOSSTATUS_SUCCESS is returned. Must not be NULL. |
buf | Pointer 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.