readByte method

  1. @override
int readByte()
override

Reads 1 byte. Increments position by 1.

Implementation

@override
int readByte() {
  checkCanRead(1);

  _ioSyncPosition();
  int b = _ioReadByte();
  incrementPosition(1);
  assert(_position == _ioPosition);

  return b;
}