How to get the raw bytes from a hex string in python

前端 未结 0 435
甜味超标
甜味超标 2020-12-04 22:07

I have the following problem in python

I have the value 0x402de4a in hex and would like to convert it to bytes so I use .to_bytes(3, \'little\') which gives me

相关标签:
回答
  • 消灭零回复
提交回复
热议问题