Re: endianess for byte data

From: Dave Allured - NOAA Affiliate <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 25 2013 - 13:04:00 MST

On common computers, in the context of number storage formats, such as
floats, integers, etc., "endianness" usually refers only to the byte
order, not the bit order. Within each byte, the bit storage order is
always 76543210 (big endian), with 7 being the most significant bit,
and 0 the least significant.

See the Endianness page on Wikipedia, for more details.


On Fri, Jan 25, 2013 at 9:41 AM, Liu, Peng <> wrote:
> Dear NCL users,
> I have a question about the endianness of the data in byte type. when read or write a byte type data, and set the format to be little or big endian, does that mean the bit order is in little or big endian? or in NCL, the setting in endianness only applies to order of bytes, instead of bit?
> Thanks
> Peng Liu
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Jan 25 13:04:14 2013

This archive was generated by hypermail 2.1.8 : Tue Jan 29 2013 - 22:44:26 MST