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

Remove one tag #133

Open
IgorRSGraziano opened this issue May 5, 2024 · 0 comments
Open

Remove one tag #133

IgorRSGraziano opened this issue May 5, 2024 · 0 comments

Comments

@IgorRSGraziano
Copy link

I'm editing an external protobuf, where I don't have a mapping file, but I know I need to edit the item with tag 1. But if I write the tag, it gets duplicated, how can I remove one?

proto.writeStringField(1, preparedMsg)

After write one field, if i run

proto.readFields((tag, _, pbf) => { if (tag != 1 || !pbf) return; console.log(tag); });

i get twice log of 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant