private void checkIndexLength(final int index, final int length) {
        checkPositionIndexes(index, index + length, length());
    }
Transfers data from the specified array into this buffer starting at
the specified absolute {@code index}.

@throws IndexOutOfBoundsException if the specified {@code index} is less than {@code 0},
if the specified {@code sourceIndex} is less than {@code 0},
if {@code index + length} is greater than
{@code this.length()}, or
if {@code sourceIndex + length} is greater than {@code source.length}
embulk-core/src/main/java/org/embulk/exec/Slice.java