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