readUint32LE function

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

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

Implementation

int readUint32LE(List<int> array, [int offset = 0]) {
  return ((array[offset + 3] << 24) |
          (array[offset + 2] << 16) |
          (array[offset + 1] << 8) |
          array[offset]) &
      mask32;
}