Pr0Ger / protobuf3

Protocol buffers library for Python 3
Other
5 stars 5 forks source link

Fix to encoding of length-delimited fields with zero length #11

Open jonathon-love opened 8 years ago

jonathon-love commented 8 years ago

Encoding Length-delimited fields with zero length (i.e. an empty string) would fail.

This PR contains a test which demonstrates the problem, and a fix.

cheers