ot::Coap::Option::Iterator::ReadOptionValue() const method
Reads the current Option Value into a given buffer.
Arguments
aValue
The pointer to a buffer to copy the Option Value. The buffer is assumed to be sufficiently large (i.e. at least `GetOption()->GetLength()` bytes).
Return value
kErrorNone Successfully read and copied the Option Value into given buffer. kErrorNotFound Iterator is done (not pointing to any option).
![]()
Error ReadOptionValue(uint64_t &aUintValue) const;
ot::Coap::Option::Iterator::ReadOptionValue() const is called by 2 functions and calls 4 functions:
![]()
ot::Coap::Option::Iterator::ReadOptionValue() const
ot::Coap::Option::Iterator::ReadOptionValue() const reads 7 variables:
![]()
ot::Coap::Option::Iterator::ReadOptionValue() const