readUnsignedByte method

int readUnsignedByte()

Reads an unsigned byte from the byte stream.

Implementation

int readUnsignedByte() {
  _validate(1);
  int value = _getData().getUint8(_position);
  _position += 1;
  return value;
}