hasNext method

Future<bool> hasNext()

If there exists another record. Currently checks the stream for the presence of 8 more bytes, the length of a record. If this is true and the record indicates the next logical record number, there exists more records.

@return True if has next record, false otherwise.

Implementation

Future<bool> hasNext() async {
  return await hasNextCheck(true);
}