maybe this is a noob question, but I’m receiving some data over TCP and when I look at the string I get the following:
\x00\r\xeb\x00\x00\x00\x00\x01t\x00
What is that \r character, and what does the t in \x01t mean?
I’ve tried Googling, but I’m not sure what to Google for…
thanks.
Viewing binary data in strings can sometimes be confusing, especially if they’re long, but you can always convert it to some easier-to-read hex.
Also, if you’re just parsing the byte string into fields, just ignore the string and just go right to unpacking it with the
structmodule: