MCPcopy Create free account
hub / github.com/diasurgical/devilution / SwapUInt16

Function SwapUInt16

3rdParty/StormLib/src/SBaseCommon.cpp:1746–1749  ·  view source on GitHub ↗

Swaps an unsigned 16-bit integer

Source from the content-addressed store, hash-verified

1744
1745// Swaps an unsigned 16-bit integer
1746uint16_t SwapUInt16(uint16_t data)
1747{
1748 return CFSwapInt16(data);
1749}
1750
1751// Swaps signed 32-bit integer
1752int32_t SwapInt32(uint32_t data)

Callers 2

ConvertUInt16BufferFunction · 0.85
ConvertTMPQHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected