Język

JniEnvironment.Arrays.SetByteArrayRegion Method

Definition

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

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

Parameters

array
JniObjectReference

A valid reference to the destination Java byte array.

start
Int32

The zero-based destination element index.

length
Int32

The number of elements to copy.

buffer
SByte*

A readable buffer of at least length sbyte 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