getFileSize

open fun getFileSize(filePath: String): String

Return the length of file.

Return

the length of file

Parameters

filePath

The path of file.

open fun getFileSize(file: File): String

Return the length of file.

Return

the length of file

Parameters

file

The file.