System.Runtime.Serialization.Plists.EndianConverter.SwapUInt64 C# (CSharp) Method

SwapUInt64() public static method

Swaps the endian-ness of the given value.
public static SwapUInt64 ( ulong value ) : ulong
value ulong The value to swap the endian-ness of.
return ulong
        public static ulong SwapUInt64(ulong value)
        {
            return (ulong)(((SwapUInt32((uint)value) & 0xffffffffL) << 0x20) | (SwapUInt32((uint)(value >> 0x20)) & 0xffffffffL));
        }