mirror of
https://github.com/espressif/openthread.git
synced 2026-09-08 02:00:12 +00:00
[core] change return type of otMessageRead() (#3707)
This commit is contained in:
@@ -272,7 +272,7 @@ otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength)
|
||||
* @sa otMessageWrite
|
||||
*
|
||||
*/
|
||||
int otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength);
|
||||
uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength);
|
||||
|
||||
/**
|
||||
* Write bytes to a message.
|
||||
|
||||
Reference in New Issue
Block a user