Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - is protobuf supported? #1

Open
omeraha opened this issue Dec 12, 2022 · 2 comments
Open

Question - is protobuf supported? #1

omeraha opened this issue Dec 12, 2022 · 2 comments
Labels
question Further information is requested

Comments

@omeraha
Copy link

omeraha commented Dec 12, 2022

Do you support protobuf? i.e. - can I view data stored in RocksDB as protobuf?

@chungquantin chungquantin added the good first issue Good for newcomers label Dec 12, 2022
@chungquantin
Copy link
Owner

@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?

@chungquantin
Copy link
Owner

chungquantin commented Dec 12, 2022

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.

@chungquantin chungquantin added question Further information is requested and removed good first issue Good for newcomers labels Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants