setUint method

void setUint(
  1. int value,
  2. int length
)

Writes an unsigned integer to a region of the buffer.

The value is written to the range [offset : offset+length].

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

Implementation

void setUint(final int value, final int length) {
  _increaseCapacity(length);
  offset = buffer.setUint(value, offset, length);
}