edma
edma copied to clipboard
Question - is protobuf supported?
Do you support protobuf? i.e. - can I view data stored in RocksDB as protobuf?
@omeraha Interesting question. EDMA byte template is dynamic, you can convert protobuf type structure into a valid EDMA byte layout, then you can view bytes data in RocksDB. However, not quite understand your point. You mean convert bytes data stored in RocksDB directly into protobuf type structure, am I right?
Here is the example of a custom byte template
{
"name": "Custom layout",
"layouts": [
{
"name": "name",
"from": 0,
"to": 5,
"variant": "String"
},
{
"name": "id",
"from": 5,
"to": 10,
"variant": "Int64"
}
]
}
It would be best if you can provide an example and an outcome.