code: public static ByteBuffer fill( ReadableByteChannel in, int size) throws IOException {
  		return fill( in, ByteBuffer.allocate( size));
  	}
docs: Creates a new buffer and fills it with bytes from the
  provided channel. The amount of data to read is specified
  in the arguments.
  
  @param in the channel to read from
  @param size the number of bytes to read into a new buffer
  @return a new buffer containing the bytes read
  @throws IOException if an IO error occurs