Crate human_bytes
source ·Expand description
A Rust crate & cli to convert bytes into human-readable values.
It can return either KiB/MiB/GiB/TiB or KB/MB/GB/TB by disabling the si-units
feature.
1 KiB = 1024 B, 1 KB = 1000 B
It supports from 0 bytes to several yottabytes (I cannot tell how many because I have to use u128
s
to fit a single YB)
For more info, check out the README.md
Functions
- Converts bytes to human-readable values