GetUnsafePtr()
Returns a pointer to this string's character buffer.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public byte* GetUnsafePtr()
Returns
Type | Description |
|---|---|
| byte* | A pointer to this string's character buffer. |
Remarks
The pointer is made invalid by operations that reallocate the character buffer, such as setting NativeText.ReadOnly.Capacity.