MCPcopy Create free account
hub / github.com/csound/csound / getStringFromWasm

Function getStringFromWasm

wasm/browser/script/polyfilled-transformer.js:23–25  ·  view source on GitHub ↗
(ptr, len)

Source from the content-addressed store, hash-verified

21}
22
23function getStringFromWasm(ptr, len) {
24 return cachedTextDecoder.decode(getUint8Memory().subarray(ptr, ptr + len));
25}
26/**
27 * get the versioon of the package
28 * @returns {string}

Callers 2

versionFunction · 0.85
initFunction · 0.85

Calls 1

getUint8MemoryFunction · 0.85

Tested by

no test coverage detected