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

Function fromwire_u32

wire/fromwire.c:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71u32 fromwire_u32(const u8 **cursor, size_t *max)
72{
73 be32 ret;
74
75 if (!fromwire(cursor, max, &ret, sizeof(ret)))
76 return 0;
77 return be32_to_cpu(ret);
78}
79
80u64 fromwire_u64(const u8 **cursor, size_t *max)
81{

Callers 2

fromwire_jsonrpc_errcodeFunction · 0.70
printwire_u32Function · 0.50

Calls 2

be32_to_cpuFunction · 0.85
fromwireFunction · 0.70

Tested by

no test coverage detected