Constant bitfrob::U8_SCALE_4_TO_8

source ·
pub const U8_SCALE_4_TO_8: u8 = 0b_00010001;
Expand description

When used as a multiplier, scales a “4 bit” u8 to spread the value across all 8 bits.