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