protected void decodeLineSuffix(PushbackInputStream inStream,OutputStream outStream) throws IOException {
  int c;
  while (true) {
    c=inStream.read();
    if (c == -1) {
      throw new CEStreamExhausted();
    }
    if (c == '\n') {
      break;
    }
    if (c == '\r') {
      c=inStream.read();
      if ((c != '\n') && (c != -1)) {
        inStream.unread(c);
      }
      break;
    }
  }
}

protected void decodeLineSuffix ( PushbackInputStream inStream , OutputStream outStream ) throws IOException { int c ; while ( true ) { c = inStream . read ( ) ; if ( c == - 1 ) { throw new CEStreamExhausted ( ) ; } if ( c == '\n' ) { break ; } if ( c == '\r' ) { c = inStream . read ( ) ; if ( ( c != '\n' ) && ( c != - 1 ) ) { inStream . unread ( c ) ; } break ; } } }
find the end of the line for the next operation . the following sequences are recognized as end - of - line cr , cr lf , or lf
