Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/DevilutionX
/ ByteSwapBlock
Function
ByteSwapBlock
Source/codec.cpp:78–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
void ByteSwapBlock(uint32_t *data)
79
{
80
for (size_t i = 0; i < BlockSize; ++i)
81
data[i] = SDL_SwapLE32(data[i]);
82
}
83
84
void XorBlock(const uint32_t *shaResult, uint32_t *out)
85
{
Callers
2
codec_decode
Function · 0.85
codec_encode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected