How to replace first two bytes of byte object with the length of this object in python?

后端 未结 0 1893
误落风尘
误落风尘 2021-01-17 17:19

1)) I am working on socket programming. I got a 10 bytes message from client such as b\'\\x02\\x03\\x35\\x36\\x37\\x01\\x00\\x05\\x02\\x75\' I want to replace first two by

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