summaryrefslogtreecommitdiffstats
path: root/src/util/byte_mask.ref0
blob: a6ab11be9f53c93092febcf7e649e8eb64c9e3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
0123 -> 0xf -> 0123
0x1e -> 123
0 -> 0x1 -> 0
0x2 -> 1
1 -> 0x2 -> 1
0x4 -> 2
2 -> 0x4 -> 2
0x8 -> 3
3 -> 0x8 -> 3
0x10 -> 
1234 -> 0xe -> 123
0x1c -> 23
abcd -> 0x0 -> 
0x0 ->