Consumes characters from reader until the first EOL has been read. @ignore
protected function skipLine() {
$c = $this
->read();
while ($c != -1 && $c != "\r" && $c != "\n") {
$c = $this
->read();
}
// c is equal to -1, \r or \n.
// In case c is equal to \r, we should also read a following \n.
if ($c == "\r") {
$c = $this
->read();
if ($c != "\n") {
$this
->unread($c);
}
}
}