Skip to main content

styled_bytes

Function styled_bytes 

Source
pub fn styled_bytes(
    bytes: u64,
    width: usize,
    color: bool,
    secondary: bool,
) -> String
Expand description

Render a human byte quantity after padding with the shared size and emphasis rules. Plain and structured numbers never depend on styling.