MCPcopy Create free account
hub / github.com/ElementsProject/lightning / map_be32

Function map_be32

common/gossmap.c:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147static u32 map_be32(const struct gossmap *map, u64 offset)
148{
149 be32 be32;
150 map_copy(map, offset, &be32, sizeof(be32));
151 return be32_to_cpu(be32);
152}
153
154static u64 map_be64(const struct gossmap *map, u64 offset)
155{

Callers 2

fill_from_updateFunction · 0.85

Calls 2

map_copyFunction · 0.85
be32_to_cpuFunction · 0.85

Tested by

no test coverage detected