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)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromBigEndian

      public static float qFromBigEndian(float source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromBigEndian

      public static short qFromBigEndian(short source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromBigEndian

      public static int qFromBigEndian(int source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromBigEndian

      public static long qFromBigEndian(long source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromBigEndian

      public static byte qFromBigEndian(byte source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromLittleEndian

      public static double qFromLittleEndian(double source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromLittleEndian

      public static float qFromLittleEndian(float source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromLittleEndian

      public static short qFromLittleEndian(short source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromLittleEndian

      public static int qFromLittleEndian(int source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromLittleEndian

      public static long qFromLittleEndian(long source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qFromLittleEndian

      public static byte qFromLittleEndian(byte source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToBigEndian

      public static double qToBigEndian(double source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToBigEndian

      public static float qToBigEndian(float source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToBigEndian

      public static short qToBigEndian(short source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToBigEndian

      public static int qToBigEndian(int source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToBigEndian

      public static long qToBigEndian(long source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToBigEndian

      public static byte qToBigEndian(byte source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToLittleEndian

      public static double qToLittleEndian(double source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToLittleEndian

      public static float qToLittleEndian(float source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToLittleEndian

      public static short qToLittleEndian(short source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToLittleEndian

      public static int qToLittleEndian(int source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToLittleEndian

      public static long qToLittleEndian(long source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qToLittleEndian

      public static byte qToLittleEndian(byte source)
      Parameters:
      source -
      Returns:
      Since:
      This function was introduced in Qt 4.3.
    • qbswap

      public static double qbswap(double source)

      See qbswap(double)

      Parameters:
      source -
      Returns:
    • qbswap

      public static float qbswap(float source)

      See qbswap(float)

      Parameters:
      source -
      Returns:
    • qbswap

      public static short qbswap(short source)

      See qbswap<T>(T)

      Parameters:
      source -
      Returns:
    • qbswap

      public static int qbswap(int source)

      See qbswap<T>(T)

      Parameters:
      source -
      Returns:
    • qbswap

      public static long qbswap(long source)

      See qbswap<T>(T)

      Parameters:
      source -
      Returns:
    • qbswap

      public static byte qbswap(byte source)

      See qbswap<T>(T)

      Parameters:
      source -
      Returns: