AndroidJNI.GetStringUTFLength 获取字符串UTF的长度

static function GetStringUTFLength (str : IntPtr) : int

Description描述

Returns the length in bytes of the modified UTF-8 representation of a string.

以字节为单位返回字符串的 UTF-8 长度。

参见: Java Native Interface Specification (Oracle)


,