int (int @NotNull [] offsets, int index) { System.arraycopy(startOffsets, 0, offsets, index, startOffsets.length); System.arraycopy(endOffsets, 0, offsets, index + startOffsets.length, endOffsets.length); return index + getOffsetCount(); }