Package com.gaia3d.converter.pointcloud
Class BigEndianByteUtils
java.lang.Object
com.gaia3d.converter.pointcloud.BigEndianByteUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]fromChar(char value) static byte[]fromChars(char[] values) static byte[]fromDouble(double value) static byte[]fromDoubles(double[] values) static byte[]fromFloat(float value) static byte[]fromFloats(float[] values) static byte[]fromInt(int value) static byte[]fromInts(int[] values) static byte[]fromLong(long value) static byte[]fromLongs(long[] values) static byte[]fromShort(short value) static byte[]fromShorts(short[] values) static chartoChar(byte[] bytes, int offset) static doubletoDouble(byte[] bytes, int offset) static doubletoDoubleNew(byte[] bytes, int offset) static double[]toDoubles(byte[] bytes) static double[]toDoublesNew(byte[] bytes) static floattoFloat(byte[] bytes, int offset) static inttoInt(byte[] bytes, int offset) static longtoLong(byte[] bytes, int offset) static shorttoShort(byte[] bytes, int offset)
-
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)
-