readByte method

int readByte()

Returns one signed byte from the read buffer.

@return the byte value.

Implementation

int readByte() {
  ByteData bdata = ByteData(1);
  bdata.setInt8(0, this._bufferData[this._bufferPosition++]);
  return bdata.getInt8(0);
}