Re: EXPath binary module - comments - endianness

>> 
>> Perhaps if I am mistaken, and there are more than two octet orders,
>> then using a string would be fine. 
Well, there is "middle-endian" (see http://unixpapa.com/incnote/byteorder.html) though I think it's unlikely anyone would want to support it nowadays.

> 
> But there is another issue we haven't addressed - the default being 'little endian'. Whilst I understand that the common x86 architecture is little-endian, I'm more concerned that I very rarely (perhaps never?) see little-endian data in my own limited practice - mostly its been big-endian. 

Agreed, I think most-significant-first is by far the most common in interchange standards; though of course that falls into the 93% of all statistics which are made up on the spur of the moment...

Michael Kay
Saxonica

Received on Monday, 5 August 2013 10:43:45 UTC