readUint16LE function

int readUint16LE(
  1. List<int> array, [
  2. int offset = 0
])

Reads a 16-bit unsigned integer value in little-endian byte order from a list.

Implementation

int readUint16LE(List<int> array, [int offset = 0]) {
  return ((array[offset + 1] << 8) | array[offset]) & mask32;
}