小编SNI*_*I0N的帖子

Reverse String but keep character pairs together

I have analysed the global header of a PCAP file and found out that the magic number is: d4 c3 b2 a1

This means that it uses a little endian and all the bytes that come after it need to processed in reverse order. The other sections of the global header are as follows:

major version =  02 00

minor version =  04 00

time zone =  00 00 00 00

timestamp =  00 00 00 00

snaplen =  ff …
Run Code Online (Sandbox Code Playgroud)

python string reverse python-3.x

1
推荐指数
1
解决办法
61
查看次数

标签 统计

python ×1

python-3.x ×1

reverse ×1

string ×1