Example #1
0
 public override void WriteSignedVarint(long number)
 {
     Position += Varint.Base128Length(number);
 }
Example #2
0
 public override void WriteFieldInfo(int number, WireType type)
 {
     Position += Varint.Base128Length((ulong)((number << 3) | (int)type));
 }