14#ifndef WPIUTIL_WPI_SWAPBYTEORDER_H
15#define WPIUTIL_WPI_SWAPBYTEORDER_H
This file contains library features backported from future STL versions.
This file implements the C++20 <bit> header.
void swapByteOrder(T &Value)
Definition SwapByteOrder.h:61
constexpr bool IsBigEndianHost
Definition SwapByteOrder.h:26
unsigned char getSwappedBytes(unsigned char C)
Definition SwapByteOrder.h:31
static const bool IsLittleEndianHost
Definition SwapByteOrder.h:29
Foonathan namespace.
Definition ntcore_cpp.h:26
constexpr T byteswap(T V) noexcept
Reverses the bytes in the given integer value V.
Definition bit.h:63
To bit_cast(const From &from) noexcept
Definition bit.h:51
constexpr std::underlying_type_t< Enum > to_underlying(Enum E)
Returns underlying integer value of an enum.
Definition STLForwardCompat.h:66