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

Function fromwire_u16

wire/fromwire.c:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62u16 fromwire_u16(const u8 **cursor, size_t *max)
63{
64 be16 ret;
65
66 if (!fromwire(cursor, max, &ret, sizeof(ret)))
67 return 0;
68 return be16_to_cpu(ret);
69}
70
71u32 fromwire_u32(const u8 **cursor, size_t *max)
72{

Callers 4

extract_channel_idFunction · 0.70
transfer_store_msgFunction · 0.50
get_nannounce_partsFunction · 0.50
printwire_u16Function · 0.50

Calls 2

be16_to_cpuFunction · 0.85
fromwireFunction · 0.70

Tested by

no test coverage detected