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

Method set

g2all/900/module/view.js:193–200  ·  view source on GitHub ↗
(index, value)

Source from the content-addressed store, hash-verified

191 }
192
193 set(index, value) {
194 const buffer = this.buffer;
195 const base = index * 8;
196 const values = lohi_from_one(value);
197
198 buffer.setUint32(base, values[0], true);
199 buffer.setUint32(base + 4, values[1], true);
200 }
201}
202
203// 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