Class HexConverter

    • Constructor Detail

      • HexConverter

        public HexConverter()
    • Method Detail

      • toString

        public static String toString​(byte[] data)
        Converts a byte array to a hex string.
        Parameters:
        data - the byte array
        Returns:
        the hex string
      • toBytes

        public static byte[] toBytes​(String sHex)
        Converts a hex string into a byte[]
        Parameters:
        sHex - the hex string
        Returns:
        the byte[]