Skip to main content

format_bytes

Function format_bytes 

Source
fn format_bytes(bytes: i64) -> String
Expand description

格式化字节数为可读字符串(B/KB/MB/GB)。