common-ktx

//library/ss_n.common_ktx.extension/getFileSize

getFileSize

[androidJvm]\

@RequiresPermission(allOf = ["android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"])

fun String.getFileSize(sizeFormat: Long = 1024): Long

Get File Size

Return

File Size

Parameters

androidJvm

   
sizeFormat default KB size format