code: public void write(char chars[], int start, int length)
            throws java.io.IOException
    {
  
      int n = length+start;
  
      for (int i = start; i < n; i++)
      {
        m_os.write(chars[i]);
      }
    }
docs: Write a portion of an array of characters.
  
  @param  chars  Array of characters
  @param  start   Offset from which to start writing characters
  @param  length   Number of characters to write
  
  @exception  IOException  If an I/O error occurs
  
  @throws java.io.IOException