[][src]Function kib::format

pub fn format<B>(bytes: B) -> String where
    B: Into<Bytes>, 

Formats bytes into string.

The result is a human-readable string, e.g: 1.9 KiB, 9.9 TiB...