appnexus / pyrobuf

A Cython alternative to Google's Python Protobuf library
Other
555 stars 72 forks source link

Parse unrecognized fields to update offset correctly when deserializing #79

Closed tburmeister closed 6 years ago

tburmeister commented 6 years ago

Currently, if we encounter a key in a serialized message with an unknown index, we just ignore it and skip to the next byte, but this is incorrect; we actually need to skip over the size of the field.