-rw-r--r-- 155 saferewrite-20240620/src/uint64_store/ref/store.c raw#include <stdint.h> #include <string.h> #include <endian.h> void uint64_store(unsigned char *s,uint64_t x) { x = htole64(x); memcpy(s,&x,sizeof x); }