[docs] is (big-endian) ?

Volunteer z23color at 163.com
Tue Dec 6 07:51:48 EST 2016


Thank you! explain .
在 2016-12-05 15:54:54,"Berker Peksağ" <berker.peksag at gmail.com> 写道:
On Sun, Dec 4, 2016 at 11:47 AM, Volunteer <z23color at 163.com> wrote:
> https://docs.python.org/3/library/struct.html
>
> 7.1.2.1. Byte Order, Size, and Alignment
>
> Native byte order is big-endian or little-endian, depending on the host
> system. For example, Intel x86 and AMD64 (x86-64) are little-endian;
> Motorola 68000 and PowerPC G5 are big-endian; ARM and Intel Itanium feature
> switchable endianness (bi-endian). Use sys.byteorder to check the endianness
> of your system.
>
>
> endianness (bi-endian) error?
>
> is (big-endian) ?

Hi Volunteer,

bi-endian is not a typo. Quoting from https://en.wikipedia.org/wiki/Endianness

> There are also some bi-endian processors that operate in either little-endian or big-endian mode.

--Berker


More information about the docs mailing list