Changing type of integer fields in proto message

715 views
Skip to first unread message

Pavel Patrin

unread,
Dec 14, 2022, 9:25:51 AM12/14/22
to Protocol Buffers
Hello everyone.

I want to replace `int64` type to `uint64` type in proto file for field that contains timestamp with milliseconds.

The byte value length is 41 bit, and it is safe to do that in C.

But what about protobuf with it's dynamic-size integers? Can I do such replacement?

Pavel Patrin

unread,
Dec 14, 2022, 9:31:05 AM12/14/22
to Protocol Buffers
Reply all
Reply to author
Forward
0 new messages