Skip to main content

Module byte_format

Module byte_format 

Source
Expand description

Human-readable byte-size formatting.

Functionsยง

format_bytes
Format a byte count as a short human string (B/KB/MB/GB). Gigabytes get one decimal place, with a trailing .0 trimmed.