Create a bytes object from a string of hexadecimal numbers. Spaces between two numbers are accepted. Example: bytes.fromhex('B9 01EF') -> b'\\xb9\\x01\\xef'.
>>> bytes.fromhex('2Ef0 F1f2 ') b'.\xf0\xf1\xf2'
builtins/bytes.fromhex
bytes.fromhex