Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStringUTFChars(IntPtr)

Returns a managed string object representing the string in modified UTF-8 encoding.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static string GetStringUTFChars(IntPtr str)

Parameters

Returns

Type

Description

string

Remarks

This method is a modification of the original \<tt\>GetStringUTFChars\</tt\>, which returns a pointer to an array of bytes.