Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ WriteLE32
Function
WriteLE32
src/crypto/common.h:44–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
}
43
44
void static inline WriteLE32(unsigned char* ptr, uint32_t x)
45
{
46
uint32_t v = htole32(x);
47
memcpy(ptr, (char*)&v, 4);
48
}
49
50
void static inline WriteLE64(unsigned char* ptr, uint64_t x)
51
{
Callers
12
ToBytes
Method · 0.70
Write4
Function · 0.70
Finalize
Method · 0.70
poly1305_auth
Function · 0.70
Keystream
Method · 0.70
Crypt
Method · 0.70
Write8
Function · 0.70
Sign
Method · 0.50
ArithToUint256
Function · 0.50
SendZmqMessage
Method · 0.50
BOOST_AUTO_TEST_CASE
Function · 0.50
FUZZ_TARGET
Function · 0.50
Calls
1
htole32
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.40
FUZZ_TARGET
Function · 0.40