In flatbuffers, how to create a common protocol, such that low level layer only need to know that protocol to be able to decode a message partially?

后端 未结 0 1055
轻奢々
轻奢々 2021-01-20 17:33

What I want is like:

table A{}
table B{}
union Data{A,B}
table MessageProtocol{
  metadata1:type1;
  metadata2:type2;
  data:Data;
}

the meta

相关标签:
回答
  • 消灭零回复
提交回复
热议问题