4 lines
90 B
Python
4 lines
90 B
Python
value=0x1234
|
|
print(value.to_bytes(2,"little").hex())
|
|
print(value.to_bytes(2,"big").hex())
|