Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_u32
Function
towire_u32
wire/towire.c:30–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
30
void towire_u32(u8 **pptr, u32 v)
31
{
32
be32 l = cpu_to_be32(v);
33
towire(pptr, &l, sizeof(l));
34
}
35
36
void towire_u64(u8 **pptr, u64 v)
37
{
Callers
1
towire_jsonrpc_errcode
Function · 0.70
Calls
2
cpu_to_be32
Function · 0.85
towire
Function · 0.70
Tested by
no test coverage detected