code: public ByteBuffer[] getIov() {
          if (buffers.size() == 1) {
              singleArray[0] = buffers.get(0);
              return singleArray;
          }
          return buffers.toArray(new ByteBuffer[buffers.size()]);
      }
docs: Get an array of buffers representing all the active chunks
  @return An array of buffers