Functions
-
uint16_t ReadUint16 (const uint8_t * aBuffer)Reads a `uint16_t` value from a given buffer assuming little-endian encoding.
Parameters
aBuffer [in] Pointer to buffer to read from.Defined at line 51 of file ../../third_party/openthread/src/lib/utils/endian.hpp
-
void WriteUint16 (uint16_t aValueuint8_t * aBuffer)Writes a `uint16_t` value to a given buffer using little-endian encoding.
Parameters
aValue [in] The value to write to buffer.aBuffer [out] Pointer to buffer where the value will be written.Defined at line 59 of file ../../third_party/openthread/src/lib/utils/endian.hpp