intFromBigEndianBytes static method
Return an integer representing a Uint8List of big endian bytes.
Implementation
static int intFromBigEndianBytes(final List<int> bytes) {
int result = 0;
for (int i = 0; i < bytes.length; i++) {
result = (result << 8) + bytes[i];
}
return result;
}