docs: public byte[] toByteArray()
      {
          byte[] data = new byte[getSize()];
          int off = 0;
          for (MessageBuffer buffer : list) {
              buffer.getBytes(0, data, off, buffer.size());
              off += buffer.size();
          }
          return data;
      }