getUint method

int getUint(
  1. int length
)

Reads a region of the buffer as an unsigned integer.

Items are read from the range [offset : offset+length].

The range must satisy the relations 0offsetoffset+lengththis.length.

Implementation

int getUint(final int length) {
  final int value = buffer.getUint(offset, length);
  offset += length;
  return value;
}