getUInt8 method

int getUInt8()

Returns the positive integer represented by the byte. Increments the offset value by one. The return value will be between 0 and 255, inclusive.

Implementation

int getUInt8() {
  final result = buffer.getUint8(offset);
  offset++;
  return result;
}