MCPcopy Create free account
hub / github.com/apitable/apitable / getStringFromWasm0

Function getStringFromWasm0

packages/databus-wasm-web/databus_wasm_bg.js:121–124  ·  view source on GitHub ↗
(ptr, len)

Source from the content-addressed store, hash-verified

119cachedTextDecoder.decode();
120
121function getStringFromWasm0(ptr, len) {
122 ptr = ptr >>> 0;
123 return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
124}
125
126function addHeapObject(obj) {
127 if (heap_next === heap.length) heap.push(heap.length + 1);

Calls 2

getUint8Memory0Function · 0.70
decodeMethod · 0.45

Tested by

no test coverage detected