#include <stdint.h> #include <string.h> #include <endian.h> void uint8_store(unsigned char *s,uint8_t x) { *s = x; }