[Home] [By Thread] [By Date] [Recent Entries]


Jeff Lowery wrote:
> Okay, I understand all that. As I'm sure has been pointed out before: don't
> the benefits binary coding diminish somewhat in heterogeneous environment
> where one has to worry about byte-ordering, bit-encoding of primitives, etc?

Only as much as one has to worry about the byte-ordering of UTF-8 
multi-byte sequences and the bit-encoding of characters in XML...

Eg, one doesn't sit and 'worry' about these things. Your libraries 
handle them for you. And even if you're the guy writing the library, 
byte ordering is hardly a 'worry'. You just use the byte ordering 
specified for the format. Use library functions like ntohl and ntohs to 
read data, and htonl and htons for writing, and the C libraries will 
handle it for you.

ABS


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member