code: public void write(String s) throws IOException
    {
      int n = s.length();
      for (int i = 0; i < n; i++)
      {
        m_os.write(s.charAt(i));
      }
    }
docs: Write a string.
  
  @param  s String to be written
  
  @exception  IOException  If an I/O error occurs