C# (CSharp) Google.Protobuf CodedOutputStream.EncodeZigZag64 - 4 examples found. These are the top rated real world C# (CSharp) examples of Google.Protobuf.CodedOutputStream.EncodeZigZag64 extracted from open source projects. You can rate examples to help us improve the quality of examples.
ZigZag encodes signed integers into values that can be efficiently encoded with varint. (Otherwise, negative values must be sign-extended to 64 bits to be varint encoded, thus always taking 10 bytes on the wire.)