#include <stdint.h>
#include <string.h>
#include <endian.h>

void uint8_store_bigendian(unsigned char *s,uint8_t x)
{
  memcpy(s,&x,sizeof x);
}