MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / set

Method set

g2all/700/module/view.js:191–198  ·  view source on GitHub ↗
(index, value)

Source from the content-addressed store, hash-verified

189 }
190
191 set(index, value) {
192 const buffer = this.buffer;
193 const base = index * 8;
194 const values = lohi_from_one(value);
195
196 buffer.setUint32(base, values[0], true);
197 buffer.setUint32(base + 4, values[1], true);
198 }
199}
200
201// mutable Int (we are explicitly using Int's private fields)

Callers

nothing calls this directly

Calls 1

lohi_from_oneFunction · 0.90

Tested by

no test coverage detected