BinaryFormat is the contract for serializing messages to and from binary
data. Implementations may be specific to a proto syntax, and can be
reflection based, or delegate to speed optimized generated code.
Store an unknown field for the given message. The parser will use this
method if it does not recognize a field, unless the option
readUnknownFields has been disabled.
length-prefixed: delimitedMessageEncoding is false or omitted, and
lengthOrEndTagFieldNo is the expected length of the message in the reader.
delimited: delimitedMessageEncoding is true, and lengthOrEndTagFieldNo is
the field number in a tag with wire type end-group signalling the end of
the message in the reader.
delimitedMessageEncoding is optional for backwards compatibility.
Retrieve the unknown fields for the given message and write them to
the given writer. This method is called when a message is serialized,
so the fields that are unknown to the parser persist through a round
trip.
BinaryFormat is the contract for serializing messages to and from binary data. Implementations may be specific to a proto syntax, and can be reflection based, or delegate to speed optimized generated code.