package
1.36.5
Repository: https://go.googlesource.com/protobuf
Documentation: pkg.go.dev

# Functions

AppendFieldEnd appends the trailing end group marker for a MessageSet item field.
AppendFieldStart appends the start of a MessageSet item field containing an extension with the given number.
AppendUnknown appends unknown fields to b in MessageSet format.
ConsumeFieldValue parses b as a MessageSet item field value until and including the trailing end group marker.
IsMessageSet returns whether the message uses the MessageSet wire format.
IsMessageSetExtension reports this field properly extends a MessageSet.
SizeField returns the size of a MessageSet item field containing an extension with the given field number, not counting the contents of the message subfield.
SizeUnknown returns the size of an unknown fields section in MessageSet format.
Unmarshal parses a MessageSet.

# Constants

ExtensionName is the field name for extensions of MessageSet.
The MessageSet wire format is equivalent to a message defined as follows, where each Item defines an extension field with a field number of 'type_id' and content of 'message'.
The MessageSet wire format is equivalent to a message defined as follows, where each Item defines an extension field with a field number of 'type_id' and content of 'message'.
The MessageSet wire format is equivalent to a message defined as follows, where each Item defines an extension field with a field number of 'type_id' and content of 'message'.