toUInt property

int get toUInt

Decode a unsigned big-endian integer from the buffer.

Implementation

int get toUInt {
  int result = 0;
  for (var i = 0; i < length; i++) {
    result = result * 256 + this[i];
  }
  return result;
}