Method ToBytesNBC
ToBytesNBC(ref UnsafeAppendBuffer)
Returns an unmanaged byte array with a copy of this buffer's contents.
Declaration
[ExcludeFromBurstCompatTesting("Returns managed array")]
public static byte[] ToBytesNBC(this ref UnsafeAppendBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| UnsafeAppendBuffer | buffer | This buffer. |
Returns
| Type | Description |
|---|---|
| byte[] | An unmanaged byte array with a copy of this buffer's contents. |