AndroidJNI.SetShortArrayElement

Switch to Manual
public static void SetShortArrayElement (IntPtr array, int index, short val);

Description

Sets the short value of one element in a primitive array.

此函数是 SetShortArrayRegion() 的特殊用例,调用时将区域大小设置为 1。

另请参阅:Java 原生接口规格 (Oracle) (Java Native Interface Specification (Oracle))