Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ReadBE16
Function
ReadBE16
src/crypto/common.h:56–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
}
55
56
uint16_t static inline ReadBE16(const unsigned char* ptr)
57
{
58
uint16_t x;
59
memcpy((char*)&x, ptr, 2);
60
return be16toh(x);
61
}
62
63
uint32_t static inline ReadBE32(const unsigned char* ptr)
64
{
Callers
1
IPv6ToString
Function · 0.85
Calls
1
be16toh
Function · 0.85
Tested by
no test coverage detected