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

Method read16

g2all/900/module/mem.js:56–66  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

54 }
55
56 read16(offset) {
57 const m = mem;
58 if (isInteger(offset) && 0 <= offset && offset <= 0xffffffff) {
59 m._set_addr_direct(this);
60 } else {
61 add_and_set_addr(m, offset, this.lo, this.hi);
62 offset = 0;
63 }
64
65 return m.read16_at(offset);
66 }
67
68 read32(offset) {
69 const m = mem;

Callers 2

verify_reqs2Function · 0.45
resolve_importFunction · 0.45

Calls 3

add_and_set_addrFunction · 0.70
_set_addr_directMethod · 0.45
read16_atMethod · 0.45

Tested by

no test coverage detected