-rw-r--r-- 170 saferewrite-20240515/src/uint64_load/ref/load.c raw#include <stdint.h> #include <string.h> #include <endian.h> uint64_t uint64_load(const unsigned char *s) { uint64_t x; memcpy(&x,s,sizeof x); return le64toh(x); }