Language

JavaPrimitiveArray<T>.CopyFrom(T[], Int32, Int32, Int32) Method

Definition

Copies a range from managed memory into the Java primitive array.

public abstract void CopyFrom(T[] sourceArray, int sourceIndex, int destinationIndex, int length);
abstract member CopyFrom : 'T[] * int * int * int -> unit

Parameters

sourceArray
T[]

The managed source array.

sourceIndex
Int32

The zero-based starting index in the managed source.

destinationIndex
Int32

The zero-based starting index in the Java array.

length
Int32

The number of elements to copy, not a byte count.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to