long (long recordOffset) { assert32bAligned(recordOffset, "recordOffsetInFile"); //0 is considered invalid id (NULL_ID) everywhere in our code, so '+1' for first id to be 1 return recordOffset - HeaderLayout.HEADER_SIZE + 1; }