Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ SwapBytes
Function
SwapBytes
lib/base/object-packer.cpp:38–43 ·
view source on GitHub ↗
* std::swap() seems not to work */
Source
from the content-addressed store, hash-verified
36
* std::swap() seems not to work
37
*/
38
static inline void SwapBytes(char& a, char& b)
39
{
40
char c = a;
41
a = b;
42
b = c;
43
}
44
45
#if CHAR_MIN != 0
46
union CharU2SConverter
Callers
1
PackFloat64BE
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected