static inline void Swap(void* pData, int size)
{
static int s_nDummy = 1;
if(*(char*)(&s_nDummy) == 0)
{
unsigned char* pch = (unsigned char*)pData;
KK_Assert(size > 0);
for(int i = 0; i < size / 2; i++)
{
unsigned char chTemp;
chTemp = pch[i];
pch[i] = pch[size-1-i];
pch[size-1-i] = chTemp;
}
}
}