repeated_field_pack() function
Packs the elements of a repeated field and returns the serialised field and its length.
Arguments
count
Number of elements in the repeated field array.
member
Pointer to the elements for this repeated field.
out
Serialised representation of the repeated field.
Return value
Number of bytes serialised to `out`.