Is there any crates for printing data size in human-readable form?
The output I want from the following code is Size: 1 kB:
println!("Size: {}", 1024);
Is there any crates that handle this automatically?
Thanks!
The output I want from the following code is Size: 1 kB:
println!("Size: {}", 1024);
Is there any crates that handle this automatically?
Thanks!