hexdump (dnsjava documentation)
Date: 2013-04-10

org.xbill.DNS.utils

## Class hexdump

- java.lang.Object
- - org.xbill.DNS.utils.hexdump

-     public class hexdump
      extends Object

  A routine to produce a nice looking hex dump
  Author:
    Brian Wellington

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `hexdump()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `dump(String s, byte[] b)`
    `static String` | `dump(String description, byte[] b, int offset, int length)` Dumps a byte array into hex format.

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

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

- - ### Constructor Detail

    - #### hexdump

          public hexdump()

  - ### Method Detail

    - #### dump

          public static String dump(String description,
                    byte[] b,
                    int offset,
                    int length)

      Dumps a byte array into hex format.
      Parameters:
        `description` - If not null, a description of the data.
        `b` - The data to be printed.
        `offset` - The start of the data in the array.
        `length` - The length of the data in the array.

    - #### dump

          public static String dump(String s,
                    byte[] b)