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

Function fxGetArrayBufferLength

xs/sources/xsDataView.c:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123txInteger fxGetArrayBufferLength(txMachine* the, txSlot* slot)
124{
125 txSlot* instance = fxCheckArrayBufferInstance(the, slot);
126 txSlot* arrayBuffer = instance->next;
127 txSlot* bufferInfo = arrayBuffer->next;
128 return bufferInfo->value.bufferInfo.length;
129}
130
131txInteger fxGetArrayBufferMaxLength(txMachine* the, txSlot* slot)
132{

Callers 1

fxInsertDecompositionFunction · 0.85

Calls 1

Tested by

no test coverage detected