示例#1
0
 public void WriteTo(IWriteStream output)
 {
     if (value != 0L)
     {
         output.WriteRawTag(9);
         output.WriteSFixed64(value);
     }
 }
示例#2
0
 public void WriteTo(IWriteStream output)
 {
     if (value != null && value.Count != 0)
     {
         output.WriteRawTag(10);
         output.WriteInt32(8 * value.Count);
         for (int i = 0; i < value.Count; ++i)
         {
             output.WriteSFixed64(value[i]);
         }
     }
 }