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

Function map_be32

common/gossmap.c:118–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118static u32 map_be32(const struct gossmap *map, size_t offset)
119{
120 be32 be32;
121 map_copy(map, offset, &be32, sizeof(be32));
122 return be32_to_cpu(be32);
123}
124
125static u64 map_be64(const struct gossmap *map, size_t offset)
126{

Callers 4

update_channelFunction · 0.85

Calls 2

map_copyFunction · 0.85
be32_to_cpuFunction · 0.85

Tested by

no test coverage detected