MCPcopy Create free account
hub / github.com/brimdata/super / loadString

Method loadString

book/super-example/wasm_exec.js:213–217  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

211 }
212
213 const loadString = (addr) => {
214 const saddr = getInt64(addr + 0);
215 const len = getInt64(addr + 8);
216 return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));
217 }
218
219 const testCallExport = (a, b) => {
220 this._inst.exports.testExport0();

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected