/// Formats the number of bytes using the most appropriate binary power unit
/// (kiB, MiB, GiB, etc), with up 2 decimals (e.g., 123.45 MiB).
///
/// There will be no decimals iff the chosen unit is 'bytes'.
Formats the number of bytes using the most appropriate binary power unit
(kiB, MiB, GiB, etc), with up 2 decimals .

There will be no decimals iff the chosen unit is 'bytes'.
Formats the number of bytes using the most appropriate binary power unit ( kiB MiB GiB etc ) with up 2 decimals . There will be no decimals iff the chosen unit is ' bytes ' .
fn display(num_bytes: &NumBytes, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(
            f,
            "{}",
            byte_unit::Byte::from_bytes(num_bytes.get().into())
                .get_appropriate_unit(true)
                .format(2)
        )
    }
fn display ( num_bytes : & NumBytes , f : & mut fmt :: Formatter < ' _ > ) -> fmt :: Result { write ! ( f " " byte_unit Byte from_bytes ( num_bytes get ( ) into ( ) ) get_appropriate_unit ( true ) format ( 2 ) ) }
Formats the number of bytes using the most appropriate binary power unit
(kiB, MiB, GiB, etc), with up 2 decimals (e.g., 123.45 MiB).
Formats the number of bytes using the most appropriate binary power unit ( kiB MiB GiB etc ) with up 2 decimals ( e . g . 123 . 45 MiB ) .
num_bytes
&NumBytes
f
&mut fmt::Formatter<'_>