ToBytesNBC(ref UnsafeAppendBuffer)
Returns an unmanaged byte array with a copy of this buffer's contents.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe.NotBurstCompatible
- Assembly: UnityEngine.ManagedKernelModule
ToBytesNBC(UnsafeAppendBuffer)
[ExcludeFromBurstCompatTesting("Returns managed array")]public static byte[] ToBytesNBC(this ref UnsafeAppendBuffer buffer)
Parameters
This buffer.
Returns
Type | Description |
|---|---|
| byte[] | An unmanaged byte array with a copy of this buffer's contents. |