Abstractions.Windows.Networking.SwapEndianness C# (CSharp) Method

SwapEndianness() static private method

static private SwapEndianness ( System.UInt64 x ) : UInt32
x System.UInt64
return System.UInt32
        internal static UInt32 SwapEndianness(UInt64 x)
        {
            return (UInt32)(((x & 0x000000ff) << 24) +
                           ((x & 0x0000ff00) << 8) +
                           ((x & 0x00ff0000) >> 8) +
                           ((x & 0xff000000) >> 24));
        }