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

Function towire_u16

wire/towire.c:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void towire_u16(u8 **pptr, u16 v)
25{
26 be16 l = cpu_to_be16(v);
27 towire(pptr, &l, sizeof(l));
28}
29
30void towire_u32(u8 **pptr, u32 v)
31{

Callers 2

peer_failed_our_htlcFunction · 0.50

Calls 2

cpu_to_be16Function · 0.85
towireFunction · 0.70

Tested by

no test coverage detected