SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

Reserve unknown fields in php (#3659)

* Reserve unknown fields in upb
1) For decoding, an unknownfields will be lazily created on message,
which contains bytes of unknown fields.
2) For encoding, if the unknownfields is present on message, all bytes
contained in it will be serialized.

* Register the function to encode unknown field at decode time.

* Remove upb_handlers_setaddunknown

* Use upb_sink_putunknown in decoder

* Remove upb_pb_encoder_encode_unknown

* Do not expose encode_unknown

* Implement reserve unknown field in php Implement.

* Make buffer private to CodedInputStream
P
Paul Yang committed
6032746882ea48ff6d983df8cb77e2ebf399bf0c
Parent: 77f64bb
Committed by GitHub <noreply@github.com> on 10/9/2017, 7:39:13 PM