long (long recordId) { long offset = recordIdToOffsetUnchecked(recordId); if (!is32bAligned(offset)) { throw new IllegalArgumentException("recordId(=" + recordId + ") is invalid: recordOffsetInFile(=" + offset + ") is not 32b-aligned"); } return offset; }