All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QtEndian Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Functions to convert between little and big endian representations of numbers

*

Java wrapper for Qt namespace QtEndian

*/ public final class QtEndian { static { QtJambi_LibraryUtilities.initialize(); } private QtEndian() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QtEndian."); } /** *

See qFromBigEndian<T>(T)

*/ public static io.qt.core.QUuid.@NonNull Id128Bytes qFromBigEndian(io.qt.core.QUuid.@NonNull Id128Bytes source){ return qFromBigEndian_native_QUuid_Id128Bytes(QtJambi_LibraryUtilities.internal.checkedNativeId(source)); } private native static io.qt.core.QUuid.Id128Bytes qFromBigEndian_native_QUuid_Id128Bytes(long source); /** *

See qFromBigEndian<T>(T)

*/ public native static double qFromBigEndian(double source); /** *

See qFromBigEndian<T>(T)

*/ public native static float qFromBigEndian(float source); /** *

See qFromBigEndian<T>(T)

*/ public native static short qFromBigEndian(short source); /** *

See qFromBigEndian<T>(T)

*/ public native static int qFromBigEndian(int source); /** *

See qFromBigEndian<T>(T)

*/ public native static long qFromBigEndian(long source); /** *

See qFromBigEndian<T>(T)

*/ public native static byte qFromBigEndian(byte source); /** *

See qFromLittleEndian<T>(T)

*/ public static io.qt.core.QUuid.@NonNull Id128Bytes qFromLittleEndian(io.qt.core.QUuid.@NonNull Id128Bytes source){ return qFromLittleEndian_native_QUuid_Id128Bytes(QtJambi_LibraryUtilities.internal.checkedNativeId(source)); } private native static io.qt.core.QUuid.Id128Bytes qFromLittleEndian_native_QUuid_Id128Bytes(long source); /** *

See qFromLittleEndian<T>(T)

*/ public native static double qFromLittleEndian(double source); /** *

See qFromLittleEndian<T>(T)

*/ public native static float qFromLittleEndian(float source); /** *

See qFromLittleEndian<T>(T)

*/ public native static short qFromLittleEndian(short source); /** *

See qFromLittleEndian<T>(T)

*/ public native static int qFromLittleEndian(int source); /** *

See qFromLittleEndian<T>(T)

*/ public native static long qFromLittleEndian(long source); /** *

See qFromLittleEndian<T>(T)

*/ public native static byte qFromLittleEndian(byte source); /** *

See qToBigEndian<T>(T)

*/ public static io.qt.core.QUuid.@NonNull Id128Bytes qToBigEndian(io.qt.core.QUuid.@NonNull Id128Bytes source){ return qToBigEndian_native_QUuid_Id128Bytes(QtJambi_LibraryUtilities.internal.checkedNativeId(source)); } private native static io.qt.core.QUuid.Id128Bytes qToBigEndian_native_QUuid_Id128Bytes(long source); /** *

See qToBigEndian<T>(T)

*/ public native static double qToBigEndian(double source); /** *

See qToBigEndian<T>(T)

*/ public native static float qToBigEndian(float source); /** *

See qToBigEndian<T>(T)

*/ public native static short qToBigEndian(short source); /** *

See qToBigEndian<T>(T)

*/ public native static int qToBigEndian(int source); /** *

See qToBigEndian<T>(T)

*/ public native static long qToBigEndian(long source); /** *

See qToBigEndian<T>(T)

*/ public native static byte qToBigEndian(byte source); /** *

See qToLittleEndian<T>(T)

*/ public static io.qt.core.QUuid.@NonNull Id128Bytes qToLittleEndian(io.qt.core.QUuid.@NonNull Id128Bytes source){ return qToLittleEndian_native_QUuid_Id128Bytes(QtJambi_LibraryUtilities.internal.checkedNativeId(source)); } private native static io.qt.core.QUuid.Id128Bytes qToLittleEndian_native_QUuid_Id128Bytes(long source); /** *

See qToLittleEndian<T>(T)

*/ public native static double qToLittleEndian(double source); /** *

See qToLittleEndian<T>(T)

*/ public native static float qToLittleEndian(float source); /** *

See qToLittleEndian<T>(T)

*/ public native static short qToLittleEndian(short source); /** *

See qToLittleEndian<T>(T)

*/ public native static int qToLittleEndian(int source); /** *

See qToLittleEndian<T>(T)

*/ public native static long qToLittleEndian(long source); /** *

See qToLittleEndian<T>(T)

*/ public native static byte qToLittleEndian(byte source); /** *

See qbswap(QUuid::Id128Bytes)

*/ public static io.qt.core.QUuid.@NonNull Id128Bytes qbswap(io.qt.core.QUuid.@NonNull Id128Bytes b){ return qbswap_native_QUuid_Id128Bytes(QtJambi_LibraryUtilities.internal.checkedNativeId(b)); } private native static io.qt.core.QUuid.Id128Bytes qbswap_native_QUuid_Id128Bytes(long b); /** *

See qbswap(double)

*/ public native static double qbswap(double source); /** *

See qbswap(float)

*/ public native static float qbswap(float source); /** *

See qbswap<T,std::enable_if_t<std::is_integral_v<T>>>(T)

*/ public native static short qbswap(short source); /** *

See qbswap<T,std::enable_if_t<std::is_integral_v<T>>>(T)

*/ public native static int qbswap(int source); /** *

See qbswap<T,std::enable_if_t<std::is_integral_v<T>>>(T)

*/ public native static long qbswap(long source); /** *

See qbswap<T,std::enable_if_t<std::is_integral_v<T>>>(T)

*/ public native static byte qbswap(byte source); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy