| 138 | } |
| 139 | |
| 140 | static u16 map_be16(const struct gossmap *map, u64 offset) |
| 141 | { |
| 142 | be16 be16; |
| 143 | map_copy(map, offset, &be16, sizeof(be16)); |
| 144 | return be16_to_cpu(be16); |
| 145 | } |
| 146 | |
| 147 | static u32 map_be32(const struct gossmap *map, u64 offset) |
| 148 | { |
no test coverage detected