#include #include #include int8_t int8_load_bigendian(const unsigned char *s) { int8_t x; memcpy(&x,s,sizeof x); return x; }