bytes_format

Macro bytes_format 

Source
macro_rules! bytes_format {
    ($bytes:tt) => { ... };
    ($bytes:tt,$precision:tt) => { ... };
}
Expand description

bytes_format to format bytes to human-readable string

Example: 50486525485 => “5.05 GB”