src/org/jnetpcap/nio/JMemoryPool.java
public static JBuffer buffer(final int size) {
		final JBuffer buffer = new JBuffer(Type.POINTER);
		defaultMemoryPool().allocate(size, buffer);

		return buffer;
	}
/**
	 * Allocates requested size of memory from the global memory pool.
	 * 
	 * @param size
	 *          allocation size in bytes
	 * @return buffer which references the allocated memory
	 */
Allocates requested size of memory from the global memory pool.

@param size
allocation size in bytes
@return buffer which references the allocated memory
Allocates requested size of memory from the global memory pool . @param size allocation size in bytes @return buffer which references the allocated memory
public static JBuffer buffer(final int size) {
		final JBuffer buffer = new JBuffer(Type.POINTER);
		defaultMemoryPool().allocate(size, buffer);
		return buffer;
	}
public static JBuffer buffer ( final int size ) { final JBuffer buffer = new JBuffer ( Type . POINTER ) ; defaultMemoryPool ( ) . allocate ( size , buffer ) ; return buffer ; }
Allocates requested size of memory from the global memory pool.
Allocates requested size of memory from the global memory pool .