SetByteArrayElement(nint, int, sbyte)
Sets the sbyte value of one element in a primitive array.
Read time 1 minuteLast updated 6 hours ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
SetByteArrayElement(IntPtr, int, sbyte)
public static void SetByteArrayElement(nint array, int index, sbyte val)
Parameters
Remarks
This function is a special case of SetByteArrayRegion(), called with region size set to 1.
AndroidJNI.SetByteArrayElement is obsolete. Use AndroidJNI.SetSByteArrayElement instead.
Additional Resources: Java Native Interface Specification (Oracle)