fileSize
Returns the size of a regular file as a Long value of bytes or throws an exception if the file doesn't exist.
Exceptions
IOException
- if an I/O error occurred.
See Also
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns the size of a regular file as a Long value of bytes or throws an exception if the file doesn't exist.
IOException
- if an I/O error occurred.
See Also