[][src]Function kib::format_as_parts

pub fn format_as_parts<'a, B>(bytes: B) -> (String, &'a str) where
    B: Into<Bytes>, 

Formats bytes into 2 strings

  • The first one is size.
  • The second one is unit.