📜  python hex to bytes string - Python 代码示例
📅  最后修改于: 2022-03-11 14:46:39.876000             🧑  作者: Mango
代码示例1
hexadecimal_string = "AB"
byte_array = bytearray.fromhex(hexadecimal_string)
print(byte_array)