MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / read32

Function read32

KittyMemoryEx/KittyUtils.cpp:397–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395 }
396
397 inline bool read32(const uint8_t *base, uint64_t size, uint64_t offset, uint32_t &out)
398 {
399 if (offset + 4 > size)
400 return false;
401 std::memcpy(&out, base + offset, 4);
402 return true;
403 }
404
405 inline bool read64(const uint8_t *base, uint64_t size, uint64_t offset, uint64_t &out)
406 {

Callers 2

findCentralDirectoryFunction · 0.85
listEntriesInZipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected