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