src/org/jnetpcap/nio/JMemory.java
protected int transferFrom(ByteBuffer src, int dstOffset) {
		if (src.isDirect()) {
			return transferFromDirect(src, 0);
		} else {
			return transferFrom(src.array(),
					src.position(),
					src.limit() - src.position(),
					0);
		}
	}
/**
	 * Copies data from memory from direct byte buffer to this memory.
	 * 
	 * @param src
	 *          source buffer
	 * @param dstOffset
	 *          offset into our memory location
	 * @return actual number of bytes that was copied
	 */
Copies data from memory from direct byte buffer to this memory.

@param src
source buffer
@param dstOffset
offset into our memory location
@return actual number of bytes that was copied
Copies data from memory from direct byte buffer to this memory . @param src source buffer @param dstOffset offset into our memory location @return actual number of bytes that was copied
protected int transferFrom(ByteBuffer src, int dstOffset) {
		if (src.isDirect()) {
			return transferFromDirect(src, 0);
		} else {
			return transferFrom(src.array(),
					src.position(),
					src.limit() - src.position(),
					0);
		}
	}
protected int transferFrom ( ByteBuffer src , int dstOffset ) { if ( src . isDirect ( ) ) { return transferFromDirect ( src , 0 ) ; } else { return transferFrom ( src . array ( ) , src . position ( ) , src . limit ( ) - src . position ( ) , 0 ) ; } }
Copies data from memory from direct byte buffer to this memory.
Copies data from memory from direct byte buffer to this memory .