Module qtjambi
Package io.qt.core

Class QtEndian

java.lang.Object
io.qt.core.QtEndian

public final class QtEndian extends Object

Functions to convert between little and big endian representations of numbers

Java wrapper for Qt namespace QtEndian

  • Method Details

    • 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

      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

      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

      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

      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)