Found 17 other functions taking a
ProtobufCFieldDescriptor
argument:
Pack a required field and return the number of bytes written.
Pack a required field to a virtual buffer.
Calculate the serialized size of a single required message field, including the space needed by the preceding tag.
Calculate the serialized size of a single oneof message field, including the space needed by the preceding tag. Returns 0 if the oneof field isn't selected or is not set.
Calculate the serialized size of repeated message fields, which may consist of any number of values (including 0). Includes the space needed by the preceding tags (as needed).
Calculate the serialized size of a single optional message field, including the space needed by the preceding tag. Returns 0 if the optional field isn't set.
Calculate the serialized size of a single unlabeled message field, including the space needed by the preceding tag. Returns 0 if the field isn't set or if it is set to a "zeroish" value (null pointer or 0 for numerical values). Unlabeled fields are supported only in proto3.
Pack a oneof field and return the number of bytes written. Only packs the field that is selected by the case enum.
Pack an optional field and return the number of bytes written.
Pack an unlabeled field and return the number of bytes written.
Packs the elements of a repeated field and returns the serialised field and its length.
Pack a oneof field to a buffer. Only packs the field that is selected by the case enum.
Pack an unlabeled field to a buffer.
Get the packed size of an array of same field type.
Pack an array of same field type to a virtual buffer.