| 367 | } |
| 368 | |
| 369 | static inline uint32_t read_be32(const unsigned char *buffer, size_t *pos) |
| 370 | { |
| 371 | uint32_t result = get_be32(buffer + *pos); |
| 372 | (*pos) += sizeof(result); |
| 373 | return result; |
| 374 | } |
| 375 | |
| 376 | static inline uint8_t read_u8(const unsigned char *buffer, size_t *pos) |
| 377 | { |
no test coverage detected