readByte method

  1. @override
int readByte()
override

Reads 1 byte. Increments position by 1.

Implementation

@override
int readByte() {
  checkCanRead(1);
  var b = _bytes[_position];
  incrementPosition(1);
  return b;
}