Function kib::fmt

source ·
pub fn fmt<B>(bytes: B) -> Stringwhere
    B: Into<Bytes>,
Expand description

Formats bytes into string.

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