readUint16 method

  1. @override
int readUint16()
override

Read a 16-bit word from the stream.

Implementation

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