if (ch == '\n')
if (ch2 == '\n')
  public StringValue readLine(long length)    throws IOException  {    StringBuilderValue sb = new StringBuilderValue();    int ch;    InputStream is = getInputStream();    for (; length > 0 && (ch = readChar()) >= 0; length--) {      if (ch == '\n') {        sb.append((char) ch);        return sb;      }      else if (ch == '\r') {        sb.append('\r');        int ch2 = read();        if (ch == '\n')          sb.append('\n');        else          unread();        return sb;      }      else        sb.append((char) ch);    }    if (sb.length() == 0)      return null;    else      return sb;  }