R3Swap

FUNCTION:

R3Swap

TEMPLATE:

void R3Swap(char *buf, int size);

PARAMETERS:

buf - pointer to memory to be swapped

RETURN VALUE:

-

DESCRIPTION:

Swapts the order of bytes in given address. The first byte becomes the last etc. This function is needed for big-endian<-little-endian conversion.