Ali Çehreli:

If the multi-character literals are evaluated big-endian as Luís Marques and I guess, then you can use the following code:

Also, D defines version(BigEndian) and version(LittleEndian).

Bye,
bearophile

Reply via email to