code: public Arguments set(final int index,
                           final ByteBuffer array) {
          final wl_array wlArray = new wl_array();
  
          wlArray.setData(wrap(array));
          wlArray.setAlloc(array.capacity());
          wlArray.setSize(array.capacity());
  
          this.argumentRefs.add(wlArray);
          this.pointer.get(index)
                      .setA(ref(wlArray));
          return this;
      }
docs: struct wl_array *a; array
  
  @param index
  @param array
  
  @return