pretty_bytes takes a [u64] that represent a number of bytes and output a [String] in prettier way that make sense for a human being.
Provide customizations to use calculation with 1000
or 1024
as well as how many decimal to display.
pretty_bytes takes a [u64] that represent a number of bytes and output a [String] in prettier way that make sense for a human being.
Provide customizations to use calculation with 1000
or 1024
as well as how many decimal to display.