public void writeNextRecord(DatabaseHandle dh, long record) throws IOException {
   myLogic.fillBytes(record, dh.currentRecord, 0);
   writeFullBytes(dh, dh.currentRecord, 0, myLogic.recordBytes);
 }
 protected void writeRecordFromByteIndex(DatabaseHandle dh, long byteIndex, long record)
     throws IOException {
   myLogic.fillBytes(record, dh.currentRecord, 0);
   writeFullBytes(dh, byteIndex, dh.currentRecord, 0, myLogic.recordBytes);
 }