Class IoBufferHexDumper

java.lang.Object
com.google.code.yanf4j.buffer.IoBufferHexDumper

class IoBufferHexDumper extends Object
Provides utility methods to dump an IoBuffer into a hex formatted string.
Version:
$Rev: 686598 $, $Date: 2008-08-17 12:58:23 +0200 (Sun, 17 Aug 2008) $
  • Field Details

    • highDigits

      private static final byte[] highDigits
      The high digits lookup table.
    • lowDigits

      private static final byte[] lowDigits
      The low digits lookup table.
  • Constructor Details

    • IoBufferHexDumper

      IoBufferHexDumper()
  • Method Details

    • getHexdump

      public static String getHexdump(IoBuffer in, int lengthLimit)
      Dumps an IoBuffer to a hex formatted string.
      Parameters:
      in - the buffer to dump
      lengthLimit - the limit at which hex dumping will stop
      Returns:
      a hex formatted string representation of the in
      invalid reference
      Iobuffer
      .