oneof_field_pack() function
Pack a oneof field and return the number of bytes written. Only packs the field that is selected by the case enum.
Arguments
oneof_case
Enum value that selects the field in the oneof.
Return value
Number of bytes written to `out`.
![]()
rv += oneof_field_pack(
oneof_field_pack() is called by 1 function and calls 1 function:
![]()
oneof_field_pack()
oneof_field_pack() reads 5 variables:
![]()
oneof_field_pack()