Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetByteArrayElement(nint, int)

Returns the value of one element of a primitive array.
Read time 1 minuteLast updated 13 hours ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

GetByteArrayElement(IntPtr, int)

Warning
Deprecated. AndroidJNI.GetByteArrayElement is obsolete. Use AndroidJNI.GetSByteArrayElement method instead
public static byte GetByteArrayElement(nint array, int index)

Parameters

array


index

Returns

Type

Description

byte

Remarks

This function is a special case of GetByteArrayRegion(), called with region size set to 1.