unarrayifyInteger function
@param {Uint8List} data @param {int} offset @param {int} length
This function iterates over the data and returns the integer value of the data
@returns {int}
Implementation
int unarrayifyInteger(Uint8List data, int offset, int length) {
int result = 0;
for (int i = 0; i < length; i++) {
result = (result * 256) + data[offset + i];
}
return result;
}