[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

I forgot... Re: Big-endian/little-endian



Hi again,

> 	// "number" is the size of the array being byte swapped
> 	swap4(void *dest, void *src, int number) {

I forgot to mention that the code excerpt I posted was meant for swapping
variables that are 4 bytes in size, e.g. floats and such.

-Ossama



Reply to: