public static ulong SwapUInt64(ulong value) { return (ulong)(((SwapUInt32((uint)value) & 0xffffffffL) << 0x20) | (SwapUInt32((uint)(value >> 0x20)) & 0xffffffffL)); }