Package-level declarations

Functions

Link copied to clipboard
fun Int.bytesToHuman(decimals: Int = 1): String
fun Long.bytesToHuman(decimals: Int = 1): String
Link copied to clipboard
fun Long.bytesToHumanSi(decimals: Int = 1): String
Link copied to clipboard
Link copied to clipboard

Decodes a Base64 string back to a ByteArray.

Link copied to clipboard

Reads a 4-byte big-endian ByteArray back to an Int.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Encodes a ByteArray to a Base64 string (no line wrapping).

Link copied to clipboard

Converts an Int to a 4-byte big-endian ByteArray.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Long.usageRatio(total: Long): Double