Class HexDumper

java.lang.Object
net.minecraftforge.common.util.HexDumper

public class HexDumper extends Object
Utility class for creating a nice human readable dump of binary data. It might look something like this:
      00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F    ................
      69 68 67 66 65 64 63 62 61 61 6A 6B 6C 6D 6E 00    ihgfedcbaajklmn.
      41 00                                              A.
      Length: 34
  • Constructor Details

    • HexDumper

      public HexDumper()
  • Method Details

    • dump

      public static String dump(io.netty.buffer.ByteBuf data)
    • dump

      public static String dump(byte[] data)
    • dump

      public static String dump(byte[] data, int marker)