Skip to content

Implementing the depreciated start and end groups types #110

Description

@kenttregenza

As indicated here https://developers.google.com/protocol-buffers/docs/encoding The wire types of 3 and 4 (start and end groups) are "depreciated" ... but unfortunately they still exist on some protobuf packets floating around.

This could be easily resolved by adding these types and then update skip to include them (skipping zero bytes):
else if (type === Pbf.StartGroup) this.pos += 0;
else if (type === Pbf.EndGroup) this.pos += 0;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions