/* This function is used for copying 32 bit to stream while converting to little endian format. 
UINT32_TO_STREAM_f */
UINT8* UINT32_TO_STREAM_f(UINT8 *p, UINT32 u32)
/* This function is used for copying 32 bit to stream while converting to little endian format. 
UINT32_TO_STREAM_f */
UINT8* UINT32_TO_STREAM_f(UINT8 *p, UINT32 u32)
{
	*(p)++ = (UINT8)(u32);
	*(p)++ = (UINT8)((u32) >> 8);
	*(p)++ = (UINT8)((u32) >> 16);
	*(p)++ = (UINT8)((u32) >> 24);
	return p;
}