文档

Unity Engine

Unity Engine

GetByteArrayElement(IntPtr, int)

Returns the value of one element of a primitive array.
阅读时间1 分钟最后更新于 2 天前

Definition

警告
Deprecated. AndroidJNI.GetByteArrayElement is obsolete. Use AndroidJNI.GetSByteArrayElement method instead
public static byte GetByteArrayElement(IntPtr 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.