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.
我有一个简单struct的包含一些东西,还有一个Text字段。我正在查看使用 Capnp 编码此数据的结果,并且由于某种原因,文本字段的值出现在编码输出中两次!这似乎不是很有效或理智。为什么会这样?
struct
Text
Cap'n Proto 不会对文本字段进行两次编码。要了解您的情况发生了什么,我们需要查看您的代码。