code: @Override
      public final void to(ObjectOutput out) throws IOException {
          if (out == null) throw new NullPointerException();
          // delegate to the equivalent internal method
          _to(out);
      }
docs: {@inheritDoc}