[ObjC] Enforce the max message size when serializing to binary form.
The validation is done at the highest point so if a sub message is what goes over the limit it is caught at the outer message, thus reducing the impact on the serialization code. PiperOrigin-RevId: 511473008
P
Protobuf Team Bot committed
e6d01b2edcb04fdfb0f3cf79bf9d427f57fa2eac
Parent: c8e005d
Committed by Copybara-Service <copybara-worker@google.com>
on 2/22/2023, 1:55:46 PM