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

Function fromwire_u8

wire/fromwire.c:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53u8 fromwire_u8(const u8 **cursor, size_t *max)
54{
55 u8 ret;
56
57 if (!fromwire(cursor, max, &ret, sizeof(ret)))
58 return 0;
59 return ret;
60}
61
62u16 fromwire_u16(const u8 **cursor, size_t *max)
63{

Callers 3

printwire_u8Function · 0.50
print_hexstringFunction · 0.50

Calls 1

fromwireFunction · 0.70

Tested by

no test coverage detected