public static Slice wrappedBuffer(final byte[] array, final int offset, final int length) {
        if (length == 0) {
            return EMPTY_SLICE;
        }
        return new Slice(array, offset, length);
    }
Creates a slice over the specified array range.

@param offset the array position at which the slice begins
@param length the number of array positions to include in the slice
embulk-core/src/main/java/org/embulk/exec/Slice.java