uint16 top-level constant

_Uint16 const uint16

Converts a integer into two bytes that represents an unsigned Int16 value.

The value has to be between 0 and 2¹⁶ - 1, inclusive.

It has a byte length of 2.

Usage:

payload.set(uint16, 250);

Implementation

const uint16 = _Uint16();