Mar-20-2021, 05:15 PM
You do not decode the "hexlify", you decode the original bytearray. You also need to specify which encoding was used. The default for .decode is utf-8.
What you really need is a knowledge of what was sent. Is it 20 bytes? Five 32 bit numbers? A Unicode string, and if so, what encoding was used?
What you really need is a knowledge of what was sent. Is it 20 bytes? Five 32 bit numbers? A Unicode string, and if so, what encoding was used?