code: public void init(OutputStream os)
      {
          this.os = os;
  
          _refs = null;
  
          if (_serializerFactory == null)
              _serializerFactory = new SerializerFactory();
      }
docs: Initializes the output