I'm using Protogen included in protobuf-net r580 to compile the following .proto file:
message TestMessage2 {
required int32 someint = 1;
}
And I found strange the resulting code use TwosComplement wire format:
Private _someint As Integer
<Global.ProtoBuf.ProtoMember(1, IsRequired:=True, Name:="someint", DataFormat:=Global.ProtoBuf.DataFormat.TwosComplement)> _
Public Property someint As Integer
Instead of more optimized default varint type. Is this the intended behavior?