Class BigEndianByteUtils

java.lang.Object
com.gaia3d.converter.pointcloud.BigEndianByteUtils

public class BigEndianByteUtils extends Object
  • Constructor Details

    • BigEndianByteUtils

      public BigEndianByteUtils()
  • Method Details

    • fromInt

      public static byte[] fromInt(int value)
    • fromInts

      public static byte[] fromInts(int[] values)
    • toInt

      public static int toInt(byte[] bytes, int offset)
    • fromShort

      public static byte[] fromShort(short value)
    • fromShorts

      public static byte[] fromShorts(short[] values)
    • toShort

      public static short toShort(byte[] bytes, int offset)
    • fromChar

      public static byte[] fromChar(char value)
    • fromChars

      public static byte[] fromChars(char[] values)
    • toChar

      public static char toChar(byte[] bytes, int offset)
    • fromLong

      public static byte[] fromLong(long value)
    • fromLongs

      public static byte[] fromLongs(long[] values)
    • toLong

      public static long toLong(byte[] bytes, int offset)
    • fromFloat

      public static byte[] fromFloat(float value)
    • fromFloats

      public static byte[] fromFloats(float[] values)
    • toFloat

      public static float toFloat(byte[] bytes, int offset)
    • fromDouble

      public static byte[] fromDouble(double value)
    • fromDoubles

      public static byte[] fromDoubles(double[] values)
    • toDoubleNew

      public static double toDoubleNew(byte[] bytes, int offset)
    • toDoublesNew

      public static double[] toDoublesNew(byte[] bytes)
    • toDouble

      public static double toDouble(byte[] bytes, int offset)
    • toDoubles

      public static double[] toDoubles(byte[] bytes)