- start
- the start offset in this string.
- end
- the end+1 offset in this string.
- buffer
- the destination array.
- index
- the start offset in the destination array.
Type Reason Java.Lang.NullPointerException if buffer is null. Java.Lang.IndexOutOfBoundsException if start , end > length(), start > end, index , end - start > buffer.length - index
Copies the given subsequence of this string to the given array starting at the given offset.