#include #include #include void int8_store_bigendian(unsigned char *s,int8_t x) { memcpy(s,&x,sizeof x); }