com.microfocus.awm.remote

## Class HexUtilities

- java.lang.Object
- - com.microfocus.awm.remote.HexUtilities

-     public class HexUtilities
      extends java.lang.Object

  Utility class for hexadecimal processing.
  Author:
    Ralf Pakosch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HexUtilities()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `bytesToHex(byte[] raw)` Converts the given byte array to HEX representation.
    `static byte[]` | `hexToBytes(char[] hex)` Converts the given array of HEX characters to a byte array.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HexUtilities

          public HexUtilities()

  - ### Method Detail

    - #### bytesToHex

          public static java.lang.String bytesToHex(byte[] raw)

      Converts the given byte array to HEX representation.
      Parameters:
        `raw` - input byte array
      Returns:
        hex representation of the given byte array as string

    - #### hexToBytes

          public static byte[] hexToBytes(char[] hex)

      Converts the given array of HEX characters to a byte array.
      Parameters:
        `hex` - input array of HEX characters
      Returns:
        byte array of the given HEX input characters

Copyright © 2015 Micro Focus GmbH. All rights reserved.