MCPcopy 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
30void towire_u32(u8 **pptr, u32 v)
31{
32 be32 l = cpu_to_be32(v);
33 towire(pptr, &l, sizeof(l));
34}
35
36void towire_u64(u8 **pptr, u64 v)
37{

Callers 1

towire_jsonrpc_errcodeFunction · 0.70

Calls 2

cpu_to_be32Function · 0.85
towireFunction · 0.70

Tested by

no test coverage detected