src/org/jnetpcap/PcapBpfProgram.java
private void initFromArray(byte[] array) {
		buffer = ByteBuffer.allocateDirect(array.length);
		buffer.put(array);

		initFromBuffer(buffer);
	}
/**
	 * Allocates new bpf_program structure and enough space for code in the array
	 * and makes a copy.
	 * 
	 * @param array
	 *          bpf instruction array
	 */
Allocates new bpf_program structure and enough space for code in the array
and makes a copy.

@param array
bpf instruction array
Allocates new bpf_program structure and enough space for code in the array and makes a copy . @param array bpf instruction array
private void initFromArray(byte[] array) {
		buffer = ByteBuffer.allocateDirect(array.length);
		buffer.put(array);
		initFromBuffer(buffer);
	}
private void initFromArray ( byte [ ] array ) { buffer = ByteBuffer . allocateDirect ( array . length ) ; buffer . put ( array ) ; initFromBuffer ( buffer ) ; }
Allocates new bpf_program structure and enough space for code in the array
 and makes a copy.
Allocates new bpf_program structure and enough space for code in the array and makes a copy .