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