Function xsArrayBuffer

Returns an ArrayBuffer slot.

xs.bindings.xsSlotRecord xsArrayBuffer (
  scope xs.bindings.xsMachineRecord* the,
  void* buffer,
  int size
);

Parameters

NameDescription
theA machine
buffer
sizeThe size of the data in bytes