MCPcopy Create free account
hub / github.com/AGWA/git-crypt / load_be32

Function load_be32

util.cpp:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77uint32_t load_be32 (const unsigned char* p)
78{
79 return (static_cast<uint32_t>(p[3]) << 0) |
80 (static_cast<uint32_t>(p[2]) << 8) |
81 (static_cast<uint32_t>(p[1]) << 16) |
82 (static_cast<uint32_t>(p[0]) << 24);
83}
84
85void store_be32 (unsigned char* p, uint32_t i)
86{

Callers 2

loadMethod · 0.85
read_be32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected