Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
void towire_u16(u8 **pptr, u16 v)
25
{
26
be16 l = cpu_to_be16(v);
27
towire(pptr, &l, sizeof(l));
28
}
29
30
void towire_u32(u8 **pptr, u32 v)
31
{
Callers
2
htlc_accepted_hook_try_resolve
Function · 0.50
peer_failed_our_htlc
Function · 0.50
Calls
2
cpu_to_be16
Function · 0.85
towire
Function · 0.70
Tested by
no test coverage detected