MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxGetArrayBufferMaxLength

Function fxGetArrayBufferMaxLength

xs/sources/xsDataView.c:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131txInteger fxGetArrayBufferMaxLength(txMachine* the, txSlot* slot)
132{
133 txSlot* instance = fxCheckArrayBufferInstance(the, slot);
134 txSlot* arrayBuffer = instance->next;
135 txSlot* bufferInfo = arrayBuffer->next;
136 return bufferInfo->value.bufferInfo.maxLength;
137}
138
139void fxSetArrayBufferData(txMachine* the, txSlot* slot, txInteger byteOffset, void* data, txInteger byteLength)
140{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected