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