MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / passArray8ToWasm0

Function passArray8ToWasm0

out/cli.cjs:25588–25593  ·  view source on GitHub ↗
(arg, malloc)

Source from the content-addressed store, hash-verified

25586 return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len);
25587 }
25588 function passArray8ToWasm0(arg, malloc) {
25589 const ptr = malloc(arg.length * 1, 1) >>> 0;
25590 getUint8Memory0().set(arg, ptr / 1);
25591 WASM_VECTOR_LEN = arg.length;
25592 return ptr;
25593 }
25594 function passArray32ToWasm0(arg, malloc) {
25595 const ptr = malloc(arg.length * 4, 4) >>> 0;
25596 getUint32Memory0().set(arg, ptr / 4);

Callers 1

encode_single_tokenMethod · 0.85

Calls 2

getUint8Memory0Function · 0.85
setMethod · 0.45

Tested by

no test coverage detected