@Override
    protected TimestampOffset parseEntry(ByteBuffer buffer, int n) {
        return new TimestampOffset(timestamp(buffer, n), baseOffset() + relativeOffset(buffer, n));
    }
Attempt to append a time index entry to the time index.
The new entry is appended only if both the timestamp and offset are greater than the last appended timestamp and
the last appended offset.

@param timestamp The timestamp of the new time index entry
@param offset The offset of the new time index entry
@param skipFullCheck To skip checking whether the segment is full or not. We only skip the check when the segment
                     gets rolled or the segment is closed.
storage/src/main/java/org/apache/kafka/storage/internals/log/TimeIndex.java