fileLength

abstract fun fileLength(name: String): Long

Returns the byte length of a file in the directory.

This method must throw either NoSuchFileException or FileNotFoundException if name points to a non-existing file.

Parameters

name

the name of an existing file.

Throws

IOException

in case of I/O error