Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ReadBE64
Function
ReadBE64
src/crypto/common.h:70–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
}
69
70
uint64_t static inline ReadBE64(const unsigned char* ptr)
71
{
72
uint64_t x;
73
memcpy((char*)&x, ptr, 8);
74
return be64toh(x);
75
}
76
77
void static inline WriteBE32(unsigned char* ptr, uint32_t x)
78
{
Callers
3
Transform
Function · 0.70
FUZZ_TARGET
Function · 0.50
GetAmount
Method · 0.50
Calls
1
be64toh
Function · 0.85
Tested by
1
FUZZ_TARGET
Function · 0.40