我有以下脚本:
hex_string = "c23dba5fcac1048b3c050266ceb6a0e870670021"
hex_bytes = bytearray.fromhex(hex_raw)
print(hex_bytes.reverse())
它打印/返回的问题None
。我想知道,因为在这个例子中它有效。
提前致谢。
我有以下脚本:
hex_string = "c23dba5fcac1048b3c050266ceb6a0e870670021"
hex_bytes = bytearray.fromhex(hex_raw)
print(hex_bytes.reverse())
它打印/返回的问题None
。我想知道,因为在这个例子中它有效。
提前致谢。