| dst | ID of the buffer to write to. |
| src | The array in the CPU memory that should be written to the buffer. The array must remain valid until the write operation is complete. |
EventID ID of the write event.
Write data into the memory buffer allocated by the context.
The ReferenceContext implementation of the WriteBuffer method is blocking and returns immediately after writing data into the underlying NativeArray.