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