java.lang.Object
io.qt.core.QtEndian
Functions to convert between little and big endian representations of numbers
Java wrapper for Qt namespace QtEndian
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte
qbswap
(byte source) Seeqbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) static double
qbswap
(double source) Seeqbswap(double)
static float
qbswap
(float source) Seeqbswap(float)
static int
qbswap
(int source) Seeqbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) static long
qbswap
(long source) Seeqbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) static short
qbswap
(short source) Seeqbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) static QUuid.Id128Bytes
Seeqbswap(QUuid::Id128Bytes)
static byte
qFromBigEndian
(byte source) static double
qFromBigEndian
(double source) static float
qFromBigEndian
(float source) static int
qFromBigEndian
(int source) static long
qFromBigEndian
(long source) static short
qFromBigEndian
(short source) static QUuid.Id128Bytes
qFromBigEndian
(QUuid.Id128Bytes source) static byte
qFromLittleEndian
(byte source) static double
qFromLittleEndian
(double source) static float
qFromLittleEndian
(float source) static int
qFromLittleEndian
(int source) static long
qFromLittleEndian
(long source) static short
qFromLittleEndian
(short source) static QUuid.Id128Bytes
qFromLittleEndian
(QUuid.Id128Bytes source) static byte
qToBigEndian
(byte source) static double
qToBigEndian
(double source) static float
qToBigEndian
(float source) static int
qToBigEndian
(int source) static long
qToBigEndian
(long source) static short
qToBigEndian
(short source) static QUuid.Id128Bytes
qToBigEndian
(QUuid.Id128Bytes source) static byte
qToLittleEndian
(byte source) static double
qToLittleEndian
(double source) static float
qToLittleEndian
(float source) static int
qToLittleEndian
(int source) static long
qToLittleEndian
(long source) static short
qToLittleEndian
(short source) static QUuid.Id128Bytes
qToLittleEndian
(QUuid.Id128Bytes source)
-
Method Details
-
qFromBigEndian
This function was introduced in Qt 6.6.
-
qFromBigEndian
public static double qFromBigEndian(double source) -
qFromBigEndian
public static float qFromBigEndian(float source) -
qFromBigEndian
public static short qFromBigEndian(short source) -
qFromBigEndian
public static int qFromBigEndian(int source) -
qFromBigEndian
public static long qFromBigEndian(long source) -
qFromBigEndian
public static byte qFromBigEndian(byte source) -
qFromLittleEndian
This function was introduced in Qt 6.6.
-
qFromLittleEndian
public static double qFromLittleEndian(double source) -
qFromLittleEndian
public static float qFromLittleEndian(float source) -
qFromLittleEndian
public static short qFromLittleEndian(short source) -
qFromLittleEndian
public static int qFromLittleEndian(int source) -
qFromLittleEndian
public static long qFromLittleEndian(long source) -
qFromLittleEndian
public static byte qFromLittleEndian(byte source) -
qToBigEndian
This function was introduced in Qt 6.6.
-
qToBigEndian
public static double qToBigEndian(double source) -
qToBigEndian
public static float qToBigEndian(float source) -
qToBigEndian
public static short qToBigEndian(short source) -
qToBigEndian
public static int qToBigEndian(int source) -
qToBigEndian
public static long qToBigEndian(long source) -
qToBigEndian
public static byte qToBigEndian(byte source) -
qToLittleEndian
This function was introduced in Qt 6.6.
-
qToLittleEndian
public static double qToLittleEndian(double source) -
qToLittleEndian
public static float qToLittleEndian(float source) -
qToLittleEndian
public static short qToLittleEndian(short source) -
qToLittleEndian
public static int qToLittleEndian(int source) -
qToLittleEndian
public static long qToLittleEndian(long source) -
qToLittleEndian
public static byte qToLittleEndian(byte source) -
qbswap
See
qbswap(QUuid::Id128Bytes)
-
qbswap
public static double qbswap(double source) See
qbswap(double)
-
qbswap
public static float qbswap(float source) See
qbswap(float)
-
qbswap
public static short qbswap(short source) See
qbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) -
qbswap
public static int qbswap(int source) See
qbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) -
qbswap
public static long qbswap(long source) See
qbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T) -
qbswap
public static byte qbswap(byte source) See
qbswap<T,
std::enable_if_t<std::is_integral_v<T>>>(T)
-