code: public int readLine(char[] c,int off,int len)
          throws IOException
      {
          int blen=fillLine(len);
  
          if (blen<0)
              return -1;
          if (blen==0)
              return 0;
          
          _byteBuffer.setStream(_mark,blen);
          
          int read=0;
          while(read<len && _reader.ready())
          {
              int r = _reader.read(c,off+read,len-read);
              if (r<=0)
                  break;
              read+=r;
          }
          
          _mark=-1;
  
          return read;
      }
docs: Read a line ended by CR, LF or CRLF.
  The default or supplied encoding is used to convert bytes to
  characters.
  @param c Character buffer to place the line into.
  @param off Offset into the buffer.
  @param len Maximum length of line.
  @return The length of the line or -1 for EOF.
  @exception IOException