public LogOffsetPosition translateOffset(long offset) throws IOException {
        return translateOffset(offset, 0);
    }
Equivalent to {@code translateOffset(offset, 0)}.

See {@link #translateOffset(long, int)} for details.
storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegment.java