_byteswap_ulong
This function returns the argument value with its bytes in reverse order.
unsigned long __cdecl _byteswap_ulong(
unsigned long arg1
);
Parameters
- arg1
[in] The four-byte integer that the function operates on.
Return Values
The value of the argument with bytes reversed.
Remarks
This function can be used to translate between big-endian and little endian data representations. For example, _byteswap_ulong(0x12345678) is 0x78563412.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Cmnintrin.h.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.