File.eofReached

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.

struct File
@nogc nothrow const
bool
eofReached
()

Meta