GetUnsafePtr()
Returns a pointer to the character bytes.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public readonly byte* GetUnsafePtr()
Returns
Type | Description |
|---|---|
| byte* | A pointer to the character bytes. |
Remarks
The pointer returned by this method points into the internals of the target FixedString object. It is the caller's responsibility to ensure that the pointer is not used after the FixedString object is destroyed or goes out of scope.