FileEofReached Method |
Returns true if the file cursor has read past the end of the file.
Note: This function will still return false while at the end of the file and only activates when reading past it. This can be confusing but it conforms to how low-level file access works in all operating systems. There is always GetLen and GetPosition to implement a custom logic.
Namespace: Godot
public bool EofReached()
[Missing <returns> documentation for "M:Godot.File.EofReached"]