PbAddFloat Function

Add a float or double to a protobuf message repeated field.

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

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

float value

Float value to add.

Errors

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