Data Sizes
data_sizesConvert an integer byte count into binary (KiB/MiB) and decimal (KB/MB) units, exposing the discrepancy between them.
Instructions
Byte counts for a plain integer, both binary and decimal — the gap
between them is where '291 MB' and '277 MiB' silently disagree by 5%.
For units other than bytes, use convert_units. For a duration, not a
byte count, use human_duration. Returns bytes plus binary and
decimal dicts of unit -> value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Byte count to express in both binary (KiB/MiB/GiB/TiB, /1024) and decimal (KB/MB/GB/TB, /1000) units |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||