code/libraries/joomlatools/library/filesystem/stream/buffer.php
public function eof()
    {
        if($this->getType() == 'memory') {
            $result = $this->_position >= $this->_length;
        } else {
            $result = parent::eof();
        }

        return $result;
    }
public function eof()
    {
        if($this->getType() == 'memory') {
            $result = $this->_position >= $this->_length;
        } else {
            $result = parent::eof();
        }

        return $result;
    }
public function eof ( ) { if ( $ this -> getType ( ) == 'memory' ) { $ result = $ this -> _position >= $ this -> _length ; } else { $ result = parent :: eof ( ) ; } return $ result ; }
Indicates whether the current position is the end-of-stream

@return boolean Should return TRUE if the read/write position is at the end of the stream and if no more data is
available to be read, or FALSE otherwise.
Indicates whether the current position is the end - of - stream