Language

JniEnvironment.Arrays.GetCharArrayRegion Method

Definition

Copies a region of a Java char array into a caller-owned buffer.

public static void GetCharArrayRegion(Java.Interop.JniObjectReference array, int start, int length, char* buffer);
static member GetCharArrayRegion : Java.Interop.JniObjectReference * int * int * nativeptr<char> -> unit

Parameters

array
JniObjectReference

A valid reference to the source Java char array.

start
Int32

The zero-based source element index.

length
Int32

The number of elements to copy.

buffer
Char*

A writable buffer for at least length char values, valid for this call.

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