code: public void reset()
      {
          try{
              out=IO.getNullWriter();
              super.flush();
              out=new OutputStreamWriter(os,encoding);
              written=false;
          }
          catch(UnsupportedEncodingException e)
          {
              log.fatal(e); System.exit(1);
          }
      }
docs: /* ------------------------------------------------------------