MCPcopy 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
50void static inline WriteLE64(unsigned char* ptr, uint64_t x)
51{
52 uint64_t v = htole64(x);
53 memcpy(ptr, (char*)&v, 8);
54}
55
56uint16_t static inline ReadBE16(const unsigned char* ptr)
57{

Callers 7

SaveMethod · 0.85
ToBytesMethod · 0.85
sha3.cppFile · 0.85
FinalizeMethod · 0.85
SendSequenceMsgFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
FUZZ_TARGETFunction · 0.85

Calls 1

htole64Function · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGETFunction · 0.68