MCPcopy
hub / github.com/thx/resvg-js / getInt32Memory0

Function getInt32Memory0

wasm/index.mjs:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83var cachedInt32Memory0 = null;
84function getInt32Memory0() {
85 if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
86 cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
87 }
88 return cachedInt32Memory0;
89}
90var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
91 throw Error("TextDecoder not available");
92} };

Callers 7

asPngMethod · 0.70
constructorMethod · 0.70
renderMethod · 0.70
toStringMethod · 0.70
imagesToResolveMethod · 0.70
resolveImageMethod · 0.70
__wbg_get_importsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…