libtd-ktx / kotlinx.telegram.extensions / FileKtx / getDownloadedPrefixSize
getDownloadedPrefixSize
open suspend fun File.getDownloadedPrefixSize(offset: Int): Count
Suspend function, which returns file downloaded prefix size from a given offset.
Parameters
offset - Offset from which downloaded prefix size should be calculated.
Return TdApi.Count Contains a counter.