How hex-to-binary conversion works
Each hexadecimal digit maps to exactly four binary digits. Replace each hex digit with its four-bit binary equivalent and concatenate the groups to form the full binary number.
For example, hex 3F becomes 0011 1111 in binary. The digit 3 maps to 0011 and F maps to 1111.