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

Method write64_at

g2all/700/module/mem.js:410–418  ·  view source on GitHub ↗
(offset, value)

Source from the content-addressed store, hash-verified

408 }
409
410 write64_at(offset, value) {
411 if (!isInteger(offset)) {
412 throw TypeError("offset not a integer");
413 }
414 const values = lohi_from_one(value);
415 const worker = this._worker;
416 worker.setUint32(offset, values[0], true);
417 worker.setUint32(offset + 4, values[1], true);
418 }
419}

Callers 1

write64Method · 0.45

Calls 1

lohi_from_oneFunction · 0.90

Tested by

no test coverage detected