WriteBytesUnsafe(ref DataStreamWriter, byte*, int)
Appends a specified number of bytes from the buffer to the data stream.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
WriteBytesUnsafe(DataStreamWriter, byte*, int)
public static bool WriteBytesUnsafe(this ref DataStreamWriter writer, byte* data, int bytes)
Parameters
Data stream writer.
Pointer to the data.
A positive number of bytes to write.
Returns
Type | Description |
|---|---|
| bool | Whether the write was successful |