Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ WriteBE32
Function
WriteBE32
src/crypto/common.h:77–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
void static inline WriteBE32(unsigned char* ptr, uint32_t x)
78
{
79
uint32_t v = htobe32(x);
80
memcpy(ptr, (char*)&v, 4);
81
}
82
83
void static inline WriteBE64(unsigned char* ptr, uint64_t x)
84
{
Callers
9
TransformD64
Function · 0.70
TransformD64Wrapper
Function · 0.70
Midstate
Method · 0.70
Save
Method · 0.70
Finalize
Method · 0.70
Encode
Method · 0.50
BIP32Hash
Function · 0.50
Encode
Method · 0.50
FUZZ_TARGET
Function · 0.50
Calls
1
htobe32
Function · 0.85
Tested by
1
FUZZ_TARGET
Function · 0.40