splitbits 0.1.2

Concise bit field extraction
Documentation
1
2
3
4
5
6
7
8
9
10
use splitbits::*;

fn main() {
    let a = 0b11;
    let b = true;
    let c = false;
    let d = 0b01;
    let e = 0b1111_0000;
    combinehex!("ddAB cCbb bDEF aaH1 XY45 6789 eeee eeee");
}