readLong method
Reads and returns an 8-byte signed integer decoded with the current endian setting.
Throws EOFException if EOF is reached before the needed bytes are read.
Implementation
int readLong() {
if (seek + 8 > _source.lengthInBytes) {
throw EOFException('Attempt to read beyond end of input');
} else {
final result = _asByteData.getInt64(seek, endian);
seek += 8;
return result;
}
}