src/org/jnetpcap/nio/JMemory.java
public String toHexdump(int length,
			boolean address,
			boolean text,
			boolean data) {
		length = (length < size) ? length : size;
		JBuffer b = new JBuffer(Type.POINTER);
		b.peer(this);

		return FormatUtils.hexdumpCombined(b.getByteArray(0, length),
				0,
				0,
				address,
				text,
				data);
	}
/**
	 * A debug method, similar to toString() which converts the contents of the
	 * memory to textual hexdump.
	 * 
	 * @param length
	 *          maximum number of bytes to dump to hex output
	 * @param address
	 *          flag if set to true will print out address offset on every line
	 * @param text
	 *          flag if set to true will print out a text characters at the end of
	 *          everyline
	 * @param data
	 *          flag if set to true will print out raw HEX data on every line
	 * @return multi-line hexdump of the entire memory region
	 */
A debug method, similar to toString() which converts the contents of the
memory to textual hexdump.


A debug method similar to toString () which converts the contents of the memory to textual hexdump .
public String toHexdump(int length,
			boolean address,
			boolean text,
			boolean data) {
		length = (length < size) ? length : size;
		JBuffer b = new JBuffer(Type.POINTER);
		b.peer(this);
		return FormatUtils.hexdumpCombined(b.getByteArray(0, length),
				0,
				0,
				address,
				text,
				data);
	}
public String toHexdump ( int length , boolean address , boolean text , boolean data ) { length = ( length < size ) ? length : size ; JBuffer b = new JBuffer ( Type . POINTER ) ; b . peer ( this ) ; return FormatUtils . hexdumpCombined ( b . getByteArray ( 0 , length ) , 0 , 0 , address , text , data ) ; }
A debug method, similar to toString() which converts the contents of the
 memory to textual hexdump.
A debug method similar to toString () which converts the contents of the memory to textual hexdump .