Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ WriteLE64
Function
WriteLE64
src/crypto/common.h:50–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
void static inline WriteLE64(unsigned char* ptr, uint64_t x)
51
{
52
uint64_t v = htole64(x);
53
memcpy(ptr, (char*)&v, 8);
54
}
55
56
uint16_t static inline ReadBE16(const unsigned char* ptr)
57
{
Callers
7
Save
Method · 0.85
ToBytes
Method · 0.85
sha3.cpp
File · 0.85
Finalize
Method · 0.85
SendSequenceMsg
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
FUZZ_TARGET
Function · 0.85
Calls
1
htole64
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.68
FUZZ_TARGET
Function · 0.68