readUint32BE function

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

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

Implementation

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