ot::FrameData::ReadLittleEndianUint16() method
Reads an `uint16_t` value assuming little endian encoding from the `FrameData`. If read successfully, the `FrameData` is updated to skip over the read content.
Arguments
aUint16
A reference to an `uint16_t` to return the read value.
Return value
kErrorNone Successfully read `uint16_t` value and skipped over it. kErrorParse Not enough bytes remaining to read.
ot::FrameData::ReadLittleEndianUint16() calls 2 functions:
![]()
ot::FrameData::ReadLittleEndianUint16()
ot::FrameData::ReadLittleEndianUint16():
![]()
ot::FrameData::ReadLittleEndianUint16()