AndroidJNI.GetStringUTFChars 获取字符串UTF的字符

static function GetStringUTFChars (str : IntPtr) : string

Description描述

Returns a managed string object representing the string in modified UTF-8 encoding.

返回由UTF-8修改的托管的字符串对象。

另解,返回指向字符串的UTF-8字符数组的指针。

This method is a modification of the original GetStringUTFChars, which returns a pointer to an array of bytes.

这个方法是原始GetStringUTFChars的修改,返回指向字节的数组。

参见: Java Native Interface Specification (Oracle)

Page last updated: 2011-4-12