Function xsSetArrayBufferLength
Set the length of an ArrayBuffer.
void xsSetArrayBufferLength
(
scope xs .bindings .xsMachineRecord* the,
xs .bindings .xsSlotRecord theSlot,
int length
);
Parameters
Name | Description |
---|---|
the | A machine |
theSlot | The ArrayBuffer slot |
length | The size of the ArrayBuffer data in bytes. If the size of the buffer is increased, the new data is initialized to 0. |