Between Binary, Octal,and Hexadecimal
Bases 2, 8, and 16 are easily related
Binary: Consider a two-byte value:
Octal: group/ungroup by 8s (3 bits)
1 011 010 011 000 110
1 3 2 3 0 6
=> 132306 base 8
Hex: group/ungroup by 16s (4 bits)
1011 0100 1100 0110
B 4 C 6
=> B4C6 base 16
1323068 = B4C616 = 46,27810