Beispiel #1
0
 /// <summary>
 /// Computes the number of bytes that would be needed to encode an
 /// sint64 field, including the tag.
 /// </summary>
 public static int ComputeSInt64Size(long value)
 {
     return(ComputeRawVarint64Size(WritingPrimitives.EncodeZigZag64(value)));
 }