MCPcopy 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
78void ByteSwapBlock(uint32_t *data)
79{
80 for (size_t i = 0; i < BlockSize; ++i)
81 data[i] = SDL_SwapLE32(data[i]);
82}
83
84void XorBlock(const uint32_t *shaResult, uint32_t *out)
85{

Callers 2

codec_decodeFunction · 0.85
codec_encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected