Språk

JniEnvironment.Arrays.GetFloatArrayRegion Method

Definition

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

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

Parameters

array
JniObjectReference

A valid reference to the source Java float array.

start
Int32

The zero-based source element index.

length
Int32

The number of elements to copy.

buffer
Single*

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

Applies to