martax

Function formatSize()

fun martax.formatSize(size: Int): String

Format size for a given size (in bytes).

Example:

-- Returns "1 KB"
martax.formatSize(1024)