PbAddInt Function

Add an int32, uint32, sint32, fixed32, sfixed32, or enum value to a protobuf message repeated field.

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

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

int value

Integer value to add.

Errors

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