[Issue 2117] New: Please add more byteswapping support

Ingo Oeser ioe-news at rameria.de
Sat May 24 13:02:19 PDT 2008


Janice Caron wrote:
> I never did understand the difference between ntoh* and hton*. :-)

It is a semantic difference only, not a behavioral one.
You can deduce the expected and actual endianess 
when using the semantically correct transformation. 

This helps (static) checkers like e.g. sparse on Linux.


Best Regards

Ingo Oeser



More information about the Digitalmars-d-bugs mailing list