/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
/** * Generates a hex dump of the provided {@link Buffer}. * @param appendable the {@link Appendable} to write the hex dump to. * @param buffer the {@link Buffer} to dump. * * @since 2.3.23 */ @SuppressWarnings("unused") public static void dumpBuffer(final Appendable appendable, final Buffer buffer) { final Formatter formatter = new Formatter(appendable); dumpBuffer0(formatter, appendable, buffer); }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }
@SuppressWarnings("UnusedParameters") private static void dumpBuffer0(final Formatter formatter, final Appendable appendable, final Buffer buffer) { if (buffer.isComposite()) { final BufferArray bufferArray = buffer.toBufferArray(); final int size = bufferArray.size(); final Buffer[] buffers = bufferArray.getArray(); formatter.format("%s\n", buffer.toString()); for (int i = 0; i < size; i++) { dumpBuffer0(formatter, appendable, buffers[i]); } formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer)); } else { dumpBuffer0(formatter, buffer); } }