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 Details

    • hexdump

      public hexdump()
  • Method Details

    • 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)