writeUint16LE function
Writes a 16-bit unsigned integer value in little-endian byte order to a list.
Implementation
void writeUint16LE(int value, List<int> out, [int offset = 0]) {
out[offset + 0] = (value & mask8);
out[offset + 1] = ((value >> 8) & mask8);
}