AndroidJNI.SetCharArrayElement 设置字符数组元素


static function SetCharArrayElement (array : IntPtr, index : int, val : Char) : voi

Description描述

Sets the value of one element in a primitive array.

设置一个基本数组一个元素的值。

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

这个函数是一个特殊情况的SetCharArrayRegion(),就是region大小设置为1时。

参见: Java Native Interface Specification (Oracle)


,