Class EncodeFunctions


  • public class EncodeFunctions
    extends java.lang.Object
    February 2018 Author: J. Wahl helper functions for encoding shape properties using a Base64 encoder
    • Constructor Detail

      • EncodeFunctions

        public EncodeFunctions()
    • 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)