|
template<typename T > |
QT_BEGIN_NAMESPACE Q_ALWAYS_INLINE void | qToUnaligned (const T src, void *dest) |
|
template<typename T > |
Q_ALWAYS_INLINE T | qFromUnaligned (const void *src) |
| The <QtEndian> header provides functions to convert between little and big endian representations of numbers. More...
|
|
constexpr quint64 | qbswap_helper (quint64 source) |
|
constexpr quint32 | qbswap_helper (quint32 source) |
|
constexpr quint16 | qbswap_helper (quint16 source) |
|
constexpr quint8 | qbswap_helper (quint8 source) |
|
template<typename T , typename = std::enable_if_t<std::is_integral_v<T>>> |
constexpr T | qbswap (T source) |
|
template<typename Float > |
Float | qbswapFloatHelper (Float source) |
|
qfloat16 | qbswap (qfloat16 source) |
|
float | qbswap (float source) |
|
double | qbswap (double source) |
|
template<typename T > |
void | qbswap (const T src, void *dest) |
|
template<int Size> |
void * | qbswap (const void *source, qsizetype count, void *dest) noexcept |
|
template<> |
void * | qbswap< 1 > (const void *source, qsizetype count, void *dest) noexcept |
|
template<> |
Q_CORE_EXPORT void * | qbswap< 2 > (const void *source, qsizetype count, void *dest) noexcept |
|
template<> |
Q_CORE_EXPORT void * | qbswap< 4 > (const void *source, qsizetype count, void *dest) noexcept |
|
template<> |
Q_CORE_EXPORT void * | qbswap< 8 > (const void *source, qsizetype count, void *dest) noexcept |
|
template<typename T > |
constexpr T | qToBigEndian (T source) |
|
template<typename T > |
constexpr T | qFromBigEndian (T source) |
|
template<typename T > |
constexpr T | qToLittleEndian (T source) |
|
template<typename T > |
constexpr T | qFromLittleEndian (T source) |
|
template<typename T > |
void | qToBigEndian (T src, void *dest) |
|
template<typename T > |
void | qToLittleEndian (T src, void *dest) |
|
template<typename T > |
void | qToBigEndian (const void *source, qsizetype count, void *dest) |
|
template<typename T > |
void | qToLittleEndian (const void *source, qsizetype count, void *dest) |
|
template<typename T > |
void | qFromBigEndian (const void *source, qsizetype count, void *dest) |
|
template<typename T > |
void | qFromLittleEndian (const void *source, qsizetype count, void *dest) |
|
template<typename T > |
T | qFromLittleEndian (const void *src) |
|
template<> |
quint8 | qFromLittleEndian< quint8 > (const void *src) |
|
template<> |
qint8 | qFromLittleEndian< qint8 > (const void *src) |
|
template<class T > |
T | qFromBigEndian (const void *src) |
|
template<> |
quint8 | qFromBigEndian< quint8 > (const void *src) |
|
template<> |
qint8 | qFromBigEndian< qint8 > (const void *src) |
|