code: @Override
      public void writeVectorUInt(Vector<Long> vector) {
          log.debug("writeVectorUInt: {}", vector);
          writeAMF3();
          buf.put(AMF3.TYPE_VECTOR_UINT);
          if (hasReference(vector)) {
              putInteger(getReferenceId(vector) << 1);
              return;
          }
          storeReference(vector);
          putInteger(vector.size() << 1 | 1);
          buf.put((byte) 0x00);
          for (Long v : vector) {
              // update this class to implement valueOf like Long.valueOf
              UnsignedInt uint = new UnsignedInt(v);
              byte[] arr = uint.getBytes();
              buf.put(arr);
          }
      }
docs: Write a Vector&lt;uint&gt;.
  
  @param vector
  vector