Construct, manipulate and display vectors of byte sizes. These are numeric vectors, so you can compare them numerically, but they can also be compared to human readable values such as '10MB'.
A numeric or character vector. Character representations can use shorthand sizes (see examples).
These memory sizes are always assumed to be base 1024, rather than 1000.
bench_bytes("1")#> 1Bbench_bytes("1K")#> 1KBbench_bytes("1Kb")#> 1KBbench_bytes("1KiB")#> 1KBbench_bytes("1MB")#> 1MBbench_bytes("1KB") < "1MB"#>  TRUE#> 6.49MB