Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ BSWAP16
Function
BSWAP16
modules/gui/gui/src/backend/text_server/config.h:62–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
#define BSWAP64(x) __builtin_bswap64(x)
61
#else
62
static inline uint16_t BSWAP16(uint16_t x)
63
{
64
return (x >> 8) | (x << 8);
65
}
66
67
static inline uint32_t BSWAP32(uint32_t x)
68
{
Callers
2
parse_utf16
Method · 0.85
TwoByteSwap
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected