J
James Harris
Just sticking with big- and little-endianness and ignoring PDP
endianness do these routines work in C:
http://codewiki.wikispaces.com/endianness_changing.c
Or are there precautions to take so that the 32-bit and, especially,
the 64-bit values will convert as intended? Would it be better to say
that the 64-bit values will only work where C is executing with 64-bit
integers? I've tried to keep the numeric literals to within unsigned
32-bit values but that may not be enough.
James
endianness do these routines work in C:
http://codewiki.wikispaces.com/endianness_changing.c
Or are there precautions to take so that the 32-bit and, especially,
the 64-bit values will convert as intended? Would it be better to say
that the 64-bit values will only work where C is executing with 64-bit
integers? I've tried to keep the numeric literals to within unsigned
32-bit values but that may not be enough.
James