File.tell

ulong tell() @property const @trusted

Calls ftell for the managed file handle, which returns the current value of the position indicator of the file handle.

Throws

Exception if the file is not opened.

ErrnoException if the call to ftell fails.