ChatterBox.Client.Presentation.Shared.Services.NtpService.SwapEndianness C# (CSharp) Method

SwapEndianness() static private method

static private SwapEndianness ( ulong x ) : uint
x ulong
return uint
        static uint SwapEndianness(ulong x)
        {
            return (uint)(((x & 0x000000ff) << 24) +
                           ((x & 0x0000ff00) << 8) +
                           ((x & 0x00ff0000) >> 8) +
                           ((x & 0xff000000) >> 24));
        }