Class Bytes

    • Constructor Detail

      • Bytes

        public Bytes()
    • Method Detail

      • bytesToHexString

        public static String bytesToHexString​(byte[] bytes)
        Converts to the byte array into a hexadecimal string.
        Parameters:
        bytes - the bytes to convert
        Returns:
        the bytes in a hexadecimal string
      • charToBytes

        public static byte[] charToBytes​(char[] chars)
        Converts the character array into a byte array.
        Parameters:
        chars - the characters to convert
        Returns:
        the characters as a byte array.