ot::Spinel::Decoder::ReadInt16() method
Decodes and reads an `int16_t` value form the frame. On success, the read position gets updated.
Arguments
aInt16
Reference to variable to output the read value.
Return value
OT_ERROR_NONE Successfully read the value. OT_ERROR_PARSE Failed to parse/decode the value and `aInt16` is untouched.
ot::Spinel::Decoder::ReadInt16() calls 1 function:
![]()
ot::Spinel::Decoder::ReadInt16()
ot::Spinel::Decoder::ReadInt16() reads 1 variable:
![]()
ot::Spinel::Decoder::ReadInt16()