docs: public void setData(TDoubleList list) {
          this.buffer = CausticUtil.createByteBuffer(list.size() * DataType.DOUBLE.getByteSize());
          final TDoubleIterator iterator = list.iterator();
          while (iterator.hasNext()) {
              buffer.putDouble(iterator.next());
          }
      }