[Issue 2117] New: Please add more byteswapping support
Janice Caron
caron800 at googlemail.com
Tue May 20 12:18:31 PDT 2008
On 20/05/2008, d-bugmail at puremagic.com <d-bugmail at puremagic.com> wrote:
> It would be really helpful to have bswap equivalents for all basic datatypes,
Essentially, bswap(T)(T x)
> as well as routines to swap between native endianness and explicit big or
> little endian, ala ntohl, ntohs, htonl, htons
I never did understand the difference between ntoh* and hton*. :-)
More information about the Digitalmars-d-bugs
mailing list