src/org/jnetpcap/packet/PcapPacket.java
public int peerHeaderAndData(JBuffer buffer) {
		int o = header.peer(buffer, 0);
		o += super.peer(buffer, o, buffer.size() - header.size());

		return o;
	}
/**
	 * Peers both header and data to buffer. The buffer must contain first header
	 * then packet data layout in its memory. Packet state is uninitialized.
	 * 
	 * @param buffer
	 *          the buffer
	 * @return number of bytes peered
	 */
Peers both header and data to buffer. The buffer must contain first header
then packet data layout in its memory. Packet state is uninitialized.

@param buffer
the buffer
@return number of bytes peered
Peers both header and data to buffer . The buffer must contain first header then packet data layout in its memory . Packet state is uninitialized . @param buffer the buffer @return number of bytes peered
public int peerHeaderAndData(JBuffer buffer) {
		int o = header.peer(buffer, 0);
		o += super.peer(buffer, o, buffer.size() - header.size());
		return o;
	}
public int peerHeaderAndData ( JBuffer buffer ) { int o = header . peer ( buffer , 0 ) ; o += super . peer ( buffer , o , buffer . size ( ) - header . size ( ) ) ; return o ; }
Peers both header and data to buffer.
Peers both header and data to buffer .