GetStringUTFLength(nint)
Returns the length in bytes of the modified UTF-8 representation of a string.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
GetStringUTFLength(IntPtr)
public static int GetStringUTFLength(nint str)
Parameters
The Java string.
Returns
Type | Description |
|---|---|
| int | The length, in bytes, of the modified UTF-8 representation of the string. |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)