src/Mbcraft/Piol/StringBuffer.php
private function isEndOfLine($i) {
        $ch = $this->data[$i];

        if ($this->getLineEndingModeCrlf()) {
            if ($ch=="\r") {
                $more_ch = $i + 1 < strlen($this->data);

                if ($more_ch) {
                    $next_n = $this->data[$i + 1] == "\n";

                    if ($next_n) return true;
                }
            }
        } else {
            if ($ch=="\n") return true;
        }
        return false;
    }
private function isEndOfLine($i) {
        $ch = $this->data[$i];

        if ($this->getLineEndingModeCrlf()) {
            if ($ch=="\r") {
                $more_ch = $i + 1 < strlen($this->data);

                if ($more_ch) {
                    $next_n = $this->data[$i + 1] == "\n";

                    if ($next_n) return true;
                }
            }
        } else {
            if ($ch=="\n") return true;
        }
        return false;
    }
Checks if the data at the index is on an EOL marker.

@param $i The index on which to check
@return bool true if the index points to an EOL marker, false otherwise

@internal