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

Function getStringFromWasm0

packages/databus-wasm-web/databus_wasm.js:122–125  ·  view source on GitHub ↗
(ptr, len)

Source from the content-addressed store, hash-verified

120if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
121
122function getStringFromWasm0(ptr, len) {
123 ptr = ptr >>> 0;
124 return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
125}
126
127function debugString(val) {
128 // primitive types

Callers 3

json0_createMethod · 0.70
json0_applyMethod · 0.70
__wbg_get_importsFunction · 0.70

Calls 2

getUint8Memory0Function · 0.70
decodeMethod · 0.45

Tested by

no test coverage detected