org.apache.struts2.util.tomcat.buf

## Class HexUtils

- java.lang.Object
- - org.apache.struts2.util.tomcat.buf.HexUtils

-     public final class HexUtils
      extends Object

  Tables useful when converting byte arrays to and from strings of hexadecimal digits. Code from Ajp11, from Apache's JServ.
  Author:
    Craig R. McClanahan

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HexUtils()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `fromHexString(String input)`
    `static int` | `getDec(int index)`
    `static byte` | `getHex(int index)`
    `static String` | `toHexString(byte[] bytes)`

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

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

- - ### Constructor Detail

    - #### HexUtils

          public HexUtils()

  - ### Method Detail

    - #### getDec

          public static int getDec(int index)

    - #### getHex

          public static byte getHex(int index)

    - #### toHexString

          public static String toHexString(byte[] bytes)

    - #### fromHexString

          public static byte[] fromHexString(String input)

Copyright © 2000–2022 Apache Software Foundation. All rights reserved.