Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究如何将两个 uint32 值转换为 ulong64 值。
任何帮助深表感谢。
谢谢
正如神秘主义者所建议的那样,使用转变。
uint32 a = 0xff00ff00; uint32 b = 0x00ff00ff; ulong64 c = ((ulong64)a) << 32 | b; // 0xff00ff0000ff00ff