fileSize
Returns the size of a regular file as a Long value of bytes or throws an exception if the file doesn't exist.
Since Kotlin
1.5See also
Throws
if an I/O error occurred.
Returns the size of a regular file as a Long value of bytes or throws an exception if the file doesn't exist.
if an I/O error occurred.
Thanks for your feedback!