Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStringUTFLength(nint)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

GetStringUTFLength(IntPtr)

public static int GetStringUTFLength(nint str)

Parameters

Returns

Type

Description

int

Remarks