Protobuf.SetInt64 Method

Sets an int64, uint64, sint64, fixed64, sfixed64 on a protobuf message.

void SetInt64(const char[] field, int value[2], int index)

Parameters

const char[] field

Field name.

int[2] value

Large integer value to set (0=High bits, 1=Low bits).

int index

Index into repeated field.

Errors

Non-existent field, or incorrect field type.