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