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

SwapInt32() public static method

Swaps the endian-ness of the given value.
public static SwapInt32 ( int value ) : int
value int The value to swap the endian-ness of.
return int
        public static int SwapInt32(int value)
        {
            return (int)(((SwapInt16((short)value) & 0xffff) << 0x10) | (SwapInt16((short)(value >> 0x10)) & 0xffff));
        }