code: public void setData(TByteList list) {
          this.buffer = CausticUtil.createByteBuffer(list.size());
          this.buffer.put(list.toArray());
      }
docs: Replaces the current buffer data with the list of bytes in the give {@link gnu.trove.list.TByteList} This method arbitrarily creates data for the ByteBuffer regardless of the data type of the
  vertex attribute.
  
  @param list to set