WriteBytesUnsafe(ref DataStreamWriter, byte*, int)
Appends a specified number of bytes from the buffer to the data stream.
읽는 시간 1분최근 업데이트: 한 달 전
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 |