Skip to main content

combine

Function combine 

Source
pub fn combine(a: U4, b: U4) -> u8
Expand description

Combines two nibbles to a byte, with a being set to the 4 leftmost and b being set to the 4 rightmost bits.