i2p.susi.util

## Class HexTable

- java.lang.Object
- - i2p.susi.util.HexTable

-     public class HexTable
      extends Object

  Hex table utilities for byte-to-string conversion.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String[]` | `table` Three character strings, upper case, e.g.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HexTable()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getHexString(int b)` Get hex string for the given byte value
    `static String[]` | `getTable()` Get a copy of the hex table for safe access
    `static String` | `getTableEntry(int index)` Direct access to table entry for backward compatibility

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

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

- - ### Field Detail

    - #### table

          public static final String[] table

      Three character strings, upper case, e.g. "=0A" WARNING: This array is public for backward compatibility but should be treated as immutable

  - ### Constructor Detail

    - #### HexTable

          public HexTable()

  - ### Method Detail

    - #### getHexString

          public static String getHexString(int b)

      Get hex string for the given byte value
      Parameters:
        `b` - byte value (0-255)
      Returns:
        hex string, e.g. "=0A"

    - #### getTable

          public static String[] getTable()

      Get a copy of the hex table for safe access
      Returns:
        a copy of the hex table array

    - #### getTableEntry

          public static String getTableEntry(int index)

      Direct access to table entry for backward compatibility
      Parameters:
        `index` - the index (0-255)
      Returns:
        hex string at that index