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

Function fromwire_u64

wire/fromwire.c:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80u64 fromwire_u64(const u8 **cursor, size_t *max)
81{
82 be64 ret;
83
84 if (!fromwire(cursor, max, &ret, sizeof(ret)))
85 return 0;
86 return be64_to_cpu(ret);
87}
88
89static u64 fromwire_tlv_uint(const u8 **cursor, size_t *max, size_t maxlen)
90{

Callers 3

fromwire_wally_tx_outputFunction · 0.50
printwire_u64Function · 0.50

Calls 2

be64_to_cpuFunction · 0.85
fromwireFunction · 0.70

Tested by

no test coverage detected