Package com.actelion.research.chem.phesa
Class EncodeFunctions
- java.lang.Object
-
- com.actelion.research.chem.phesa.EncodeFunctions
-
public class EncodeFunctions extends java.lang.Object
February 2018 Author: J. Wahl helper functions for encoding shape properties using a Base64 encoder
-
-
Constructor Summary
Constructors Constructor Description EncodeFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
byteArrayToDouble(byte[] bytes)
static double[]
byteArrayToDoubleArray(byte[] bytes)
static int
byteArrayToInt(byte[] bytes)
static int[]
byteArrayToIntArray(byte[] bytes)
static byte[]
doubleArrayToByteArray(double[] doubleArray)
static byte[]
doubleToByteArray(double value)
static byte[]
intArrayToByteArray(int[] intArray)
static byte[]
intToByteArray(int value)
-
-
-
Method Detail
-
doubleToByteArray
public static byte[] doubleToByteArray(double value)
-
doubleArrayToByteArray
public static byte[] doubleArrayToByteArray(double[] doubleArray)
-
intArrayToByteArray
public static byte[] intArrayToByteArray(int[] intArray)
-
intToByteArray
public static byte[] intToByteArray(int value)
-
byteArrayToDouble
public static double byteArrayToDouble(byte[] bytes)
-
byteArrayToDoubleArray
public static double[] byteArrayToDoubleArray(byte[] bytes)
-
byteArrayToIntArray
public static int[] byteArrayToIntArray(byte[] bytes)
-
byteArrayToInt
public static int byteArrayToInt(byte[] bytes)
-
-