} catch (final IOException ioe) {
throw new PersistitIOException(ioe);
}
if (count < 0) {
final File file = addressToFile(address);
throw new CorruptJournalException(String.format("End of file at %s:%d(%,d)", file, fileAddr, address));
}
fileAddr += count;
}
bb.limit(bb.position());
bb.position(position);