martax

Function formatSize()

function martax.formatSize(size: Int): String

Format size for a given size (in bytes).

Example:

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