Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个坐标为 19、104 的对象。该对象的坐标由字节“30 01 00 00 40 03 00 00”表示 如果我将第一个字节替换为 00,则 19 变为 16 这 8 个字节是某些应用程序中的坐标值,每个值 4 个字节,但它看起来不像普通的十六进制值......因为数字 19 十六进制代码是 13。 也许你知道?对我来说有很多奇怪的东西,比如大/小端等等......
因为每个字节都是反向读取的(Big Endian),所以30被解释为 3,01被解释为 16。但其余的被读取 ltr。
30
01
什么是大端
字节序