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

Method write64_at

g2all/900/module/mem.js:682–690  ·  view source on GitHub ↗
(offset, value)

Source from the content-addressed store, hash-verified

680 }
681
682 write64_at(offset, value) {
683 if (!isInteger(offset)) {
684 throw TypeError('offset not a integer');
685 }
686 const values = lohi_from_one(value);
687 const worker = this._worker;
688 worker.setUint32(offset, values[0], true);
689 worker.setUint32(offset + 4, values[1], true);
690 }
691}

Callers 1

write64Method · 0.45

Calls 1

lohi_from_oneFunction · 0.90

Tested by

no test coverage detected