GetUTF8LiteralPointer(string, out int)
Return a pointer to read-only memory consisting of the literal UTF-8 bytes of a string constant.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Burst
- Assembly: UnityEngine.BurstModule
GetUTF8LiteralPointer(string, int)
public static byte* GetUTF8LiteralPointer(string str, out int byteCount)
Parameters
Returns
Type | Description |
|---|---|
| byte* | A pointer to constant data representing the UTF-8 encoded bytes of the string literal, terminated with a null terminator |