JniEnvironment.Arrays.GetByteArrayRegion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies a region of a Java byte array into a caller-owned buffer.
public static void GetByteArrayRegion(Java.Interop.JniObjectReference array, int start, int length, sbyte* buffer);
static member GetByteArrayRegion : Java.Interop.JniObjectReference * int * int * nativeptr<sbyte> -> unit
Parameters
- array
- JniObjectReference
A valid reference to the source Java byte array.
- start
- Int32
The zero-based source element index.
- length
- Int32
The number of elements to copy.
- buffer
- SByte*
A writable buffer for at least length sbyte values, valid for this call.