if (slotID >= 0) {
// Empty slot found, store dataOffset in it
bucket.putInt(ITEM_SIZE * slotID, hash);
bucket.putInt(ITEM_SIZE * slotID + 4, id);
bucket.rewind();
nioFile.write(bucket, bucketOffset);
idStored = true;
}
else {
// No empty slot found, check if bucket has an overflow bucket