MCPcopy 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
56uint16_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
63uint32_t static inline ReadBE32(const unsigned char* ptr)
64{

Callers 1

IPv6ToStringFunction · 0.85

Calls 1

be16tohFunction · 0.85

Tested by

no test coverage detected