Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStringUTFLength(IntPtr)

Returns the length in bytes of the modified UTF-8 representation of a string.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int GetStringUTFLength(IntPtr str)

Parameters

Returns

Type

Description

int

Remarks