Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/UnrealTemplate.h |
Include |
#include "Templates/UnrealTemplate.h" |
template<typename T>
TEnableIf< TAreTypesEqual< T, uint32 >::Value, T >::Type ReverseBits
(
T Bits
)
Reverses the order of the bits of a value. This is an TEnableIf'd template to ensure that no undesirable conversions occur. Overloads for other types can be added in the same way.
The bit-swapped value.
Parameter |
Description |
---|---|
Bits |
The value to bit-swap. |