Click or drag to resize

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool EofReached()

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.File.EofReached"]

See Also