US>Meaning \\Z in binary data

Asked 2 years ago, Updated 2 years ago, 65 views

I'm trying to read the binary file in Python.
I found the following binary data

\x96\x08\Z\xbbf\xd0g\t\x93

I think \Z is one of the escape sequences in this binary data.
What is the meaning of the escape sequence?

binary-file

2022-09-30 18:43

1 Answers

The \\Z portion represents one byte each in \\ and Z.

\\->\x5c
Z->\x5a

The bytes corresponding to the ASCII display characters are not in escape format (except for the escape character \), but are displayed exactly as the characters represented by the code.


2022-09-30 18:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.