大端和小端存储的区别

Python中cpu存储数据的方式:

形如:struct.unpack(">B")、 struct.unpack(">H")

">"(Big-Endian):高位字节放在内存的低地址端;

"<"(Little-Endian):低位字节放在内存的低地址端。

猜你喜欢

转载自blog.csdn.net/weixin_42411153/article/details/86566398