readByte method

  1. @override
int readByte()
override

Read a single byte.

Implementation

@override
int readByte() {
  if (isEOS) {
    return 0;
  }
  final b = _file.readUint8(_fileOffset + _position, _fileSize);
  _position++;
  return b;
}