src/org/jnetpcap/nio/JBufferInputStream.java
@Override
	public int read(byte[] b, int off, int len) throws IOException {
		final int length = max(len);

		in.getByteArray(position, b, off, length);

		return length;
	}
/**
	 * Reads a block of data out of the source buffer.
	 * 
	 * @param b
	 *          buffer to store the block of data read
	 * @param off
	 *          offset into the destination buffer where to store the block data
	 * @param len
	 *          number of bytes to read as a block
	 * @return the int
	 * @throws IOException
	 *           Signals that an I/O exception has occurred.
	 */
Reads a block of data out of the source buffer.


Reads a block of data out of the source buffer .
@Override
	public int read(byte[] b, int off, int len) throws IOException {
		final int length = max(len);
		in.getByteArray(position, b, off, length);
		return length;
	}
@ Override public int read ( byte [ ] b , int off , int len ) throws IOException { final int length = max ( len ) ; in . getByteArray ( position , b , off , length ) ; return length ; }
Reads a block of data out of the source buffer.
Reads a block of data out of the source buffer .