clear method
Erases all data and resets the internal structure, but does not reclaim storage.
Implementation
@override
void clear() {
_recordPool.clear();
_memoryPool.clear();
_header.numRecords = 0;
if (_flush) {
flush();
}
}
Erases all data and resets the internal structure, but does not reclaim storage.
@override
void clear() {
_recordPool.clear();
_memoryPool.clear();
_header.numRecords = 0;
if (_flush) {
flush();
}
}