-rw-r--r-- 170 saferewrite-20240622/src/uint32_load/ref/load.c raw
#include <stdint.h> #include <string.h> #include <endian.h> uint32_t uint32_load(const unsigned char *s) { uint32_t x; memcpy(&x,s,sizeof x); return le32toh(x); }