PbReadRepeatedMessage Function

Retrieve a handle to an embedded protobuf message in a protobuf message repeated field.

Handle PbReadRepeatedMessage(Handle pb, const char[] field, int index)

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

int index

Index in the repeated field.

Return Value

protobuf handle to embedded message.

Errors

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