#include <stdint.h> #include <stddef.h> uint32_t read_be32(const uint8_t *buf); void trim_trailing(char *str);