Method WriteBytesUnsafe
WriteBytesUnsafe(ref DataStreamWriter, byte*, int)
Appends a specified number of bytes from the buffer to the data stream.
Declaration
public static bool WriteBytesUnsafe(this ref DataStreamWriter writer, byte* data, int bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| DataStreamWriter | writer | Data stream writer. |
| byte* | data | Pointer to the data. |
| int | bytes | A positive number of bytes to write. |
Returns
| Type | Description |
|---|---|
| bool | Whether the write was successful |