getFileLength

open fun getFileLength(filePath: String): Long

Return the length of file.

Return

the length of file

Parameters

filePath

The path of file.

open fun getFileLength(file: File): Long

Return the length of file.

Return

the length of file

Parameters

file

The file.