Method Gz._file()->eof() Method eof bool eof() Returns 1 if EOF has been reached. Method eof bool eof() Returns 1 if EOF has been reached.