Function xsSetArrayBufferData
Copies bytes into the ArrayBuffer.
void xsSetArrayBufferData(T)
(
scope xsMachine* the,
xsSlot theSlot,
int offset,
T[] buffer
);
void xsSetArrayBufferData
(
scope xs .bindings .xsMachineRecord* the,
xs .bindings .xsSlotRecord theSlot,
int offset,
void* buffer,
int size
);
Parameters
Name | Description |
---|---|
the | A machine |
theSlot | The ArrayBuffer slot |
offset | The starting byte offset to get the data |