[−][src]Function kib::format
pub fn format(bytes: impl Into<u128>) -> String
Formats bytes into string.
Parameters
bytes
: size in bytes.
Returns
Human-readable string, e.g: "1.9 KiB", "9.9 TiB"...
pub fn format(bytes: impl Into<u128>) -> String
bytes
: size in bytes.Human-readable string, e.g: "1.9 KiB", "9.9 TiB"...