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

Function read64

KittyMemoryEx/KittyUtils.cpp:405–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403 }
404
405 inline bool read64(const uint8_t *base, uint64_t size, uint64_t offset, uint64_t &out)
406 {
407 if (offset + 8 > size)
408 return false;
409 std::memcpy(&out, base + offset, 8);
410 return true;
411 }
412
413 bool findCentralDirectory(const uint8_t *data, uint64_t fileSize, uint64_t *cdOffset, uint64_t *totalEntries)
414 {

Callers 2

findCentralDirectoryFunction · 0.85
listEntriesInZipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected