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 15

towire_s16Function · 0.70
towire_hsm_utxoFunction · 0.50
peer_failed_our_htlcFunction · 0.50
failFunction · 0.50
prefix_arrFunction · 0.50
runFunction · 0.50
patch_channel_updateFunction · 0.50
send_responseFunction · 0.50
json_commandoFunction · 0.50
towire_opt_u16Function · 0.50
towire_dstore_channelFunction · 0.50

Calls 2

cpu_to_be16Function · 0.85
towireFunction · 0.70

Tested by

no test coverage detected