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