src/org/jnetpcap/nio/JMemory.java
protected int peer(JMemory peer, int offset, int length)
			throws IndexOutOfBoundsException {

		if (offset < 0 || length < 0 || offset + length > peer.size) {
			throw new IndexOutOfBoundsException("Invalid [" + offset + ","
					+ (offset + length) + "," + length + ") range.");
		}

		return peer0(peer.physical + offset, length, peer.keeper);
	}
/**
	 * Peers the peer structure with this instance. The physical memory that the
	 * peer object points to is set to this instance. The owner flag is not copied
	 * and peer remains at the same state as it did before. This instance does not
	 * become the owner of the memory. The function allows peering to a sub
	 * portion of the peer given the specified offset and length. The function
	 * strictly checks and inforces the bounds of the request to guarrantee that
	 * peer is not allowed to access physical memory outside of actual peer range.
	 * 
	 * @param peer
	 *          object memory block to peer with
	 * @param offset
	 *          offset into the memory block
	 * @param length
	 *          amount of memory to peer with
	 * @return the int
	 * @throws IndexOutOfBoundsException
	 *           if the specified memory offset and length have negative or out of
	 *           bounds of peer objects address space
	 */
Peers the peer structure with this instance. The physical memory that the
peer object points to is set to this instance. The owner flag is not copied
and peer remains at the same state as it did before. This instance does not
become the owner of the memory. The function allows peering to a sub
portion of the peer given the specified offset and length. The function
strictly checks and inforces the bounds of the request to guarrantee that
peer is not allowed to access physical memory outside of actual peer range.


Peers the peer structure with this instance . The physical memory that the peer object points to is set to this instance . The owner flag is not copied and peer remains at the same state as it did before . This instance does not become the owner of the memory . The function allows peering to a sub portion of the peer given the specified offset and length . The function strictly checks and inforces the bounds of the request to guarrantee that peer is not allowed to access physical memory outside of actual peer range .
protected int peer(JMemory peer, int offset, int length)
			throws IndexOutOfBoundsException {
		if (offset < 0 || length < 0 || offset + length > peer.size) {
			throw new IndexOutOfBoundsException("Invalid [" + offset + ","
					+ (offset + length) + "," + length + ") range.");
		}
		return peer0(peer.physical + offset, length, peer.keeper);
	}
protected int peer ( JMemory peer , int offset , int length ) throws IndexOutOfBoundsException { if ( offset < 0 || length < 0 || offset + length > peer . size ) { throw new IndexOutOfBoundsException ( "Invalid [" + offset + "," + ( offset + length ) + "," + length + ") range." ) ; } return peer0 ( peer . physical + offset , length , peer . keeper ) ; }
Peers the peer structure with this instance.
Peers the peer structure with this instance .