JniEnvironment.Arrays.GetShortArrayRegion 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 short array into a caller-owned buffer.
public static void GetShortArrayRegion(Java.Interop.JniObjectReference array, int start, int length, short* buffer);
static member GetShortArrayRegion : Java.Interop.JniObjectReference * int * int * nativeptr<int16> -> unit
Parameters
- array
- JniObjectReference
A valid reference to the source Java short array.
- start
- Int32
The zero-based source element index.
- length
- Int32
The number of elements to copy.
- buffer
- Int16*
A writable buffer for at least length short 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.