macro_rules! bit_concat {
($($x:expr),*) => { ... };
}
Expand description
Concatenate the bits of integers.
Example:
bit_concat!(
(0b111, 3),
(0b01, 2)
) == 0b11101;
macro_rules! bit_concat {
($($x:expr),*) => { ... };
}
Concatenate the bits of integers.
Example:
bit_concat!(
(0b111, 3),
(0b01, 2)
) == 0b11101;