PbAddString Function

Add a string to a protobuf message repeated field.

void PbAddString(Handle pb, const char[] field, const char[] value)

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

const char[] value

String value to add.

Errors

Invalid or incorrect Handle, non-existent field, or incorrect field type.