macro_rules! format_byte {
(hex_only, $byte:expr $(,)? ) => { ... };
(hex, $byte:expr $(,)? ) => { ... };
(bin, $byte:expr $(,)? ) => { ... };
($byte:expr $(,)? ) => { ... };
}Expand description
colorfully formats a u8 as hex => binary => decimal (=> char (if ascii))