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.
我很困惑为什么 CBOR 选择将负整数编码为无符号二进制数,其值定义为 -1 减去无符号值,而不是例如常规二进制补码表示。除了增加的负范围(IMO,与增加的复杂性相比,它的价值值得怀疑)之外,我是否还缺少一个明显的优势?
优点: