Function xsGetArrayBufferData
Get the data of an ArrayBuffer.
void xsGetArrayBufferData(T)
(
scope xsMachine* the,
xsSlot theSlot,
int offset,
out T[] buffer,
int size
);
void xsGetArrayBufferData
(
scope xs .bindings .xsMachineRecord* the,
xs .bindings .xsSlotRecord theSlot,
int offset,
out void* buffer,
int size
);
Parameters
| Name | Description |
|---|---|
| theSlot | The ArrayBuffer slot |
| offset | The starting byte offset to get the data |
| size | The data size to copy in bytes |