| 99 | } |
| 100 | |
| 101 | static inline void hashwrite_be32(struct hashfile *f, uint32_t data) |
| 102 | { |
| 103 | data = htonl(data); |
| 104 | hashwrite(f, &data, sizeof(data)); |
| 105 | } |
| 106 | |
| 107 | static inline size_t hashwrite_be64(struct hashfile *f, uint64_t data) |
| 108 | { |
no test coverage detected