Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AndroidJNI.GetStringUTFLength

static function GetStringUTFLength(str: IntPtr): int;
static int GetStringUTFLength(IntPtr str);
static def GetStringUTFLength(str as IntPtr) as int

Description

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