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

Method readp

g2all/700/module/mem.js:323–327  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

321
322 // returns a pointer instead of an Int
323 readp(addr) {
324 this.set_addr(addr);
325 const worker = this._worker;
326 return new Addr(worker.getUint32(0, true), worker.getUint32(4, true));
327 }
328
329 read8_at(offset) {
330 if (!isInteger(offset)) {

Callers

nothing calls this directly

Calls 1

set_addrMethod · 0.95

Tested by

no test coverage detected