static inline uint32_t decode_be64(const uint8_t *p)
static inline uint64_t decode_be64(const uint8_t *p)
static inline uint32_t decode_be64(const uint8_t *p){    return ((uint64_t)decode_be32(p) << 32) | decode_be32(p + 4);}