skip method
void
skip()
Skip the next record.
@ If an error occurs.
Implementation
void skip() {
bool foundRecord = false;
while (!foundRecord) {
// bufferCheck();
// read the deleted flag
final String tempDeleted = String.fromCharCode(buffer!.getByte());
// skip the next bytes
buffer!.position =
buffer!.position + header!.getRecordLength() - 1; // the
// 1 is
// for
// the
// deleted
// flag
// just
// read.
// add the row if it is not deleted.
if (tempDeleted != '*') {
foundRecord = true;
}
}
cnt++;
}