public override void Write(ScorpioWriter writer)
 {
     writer.WriteInt32(__Sign);
     if (HasSign(1))
     {
         writer.WriteInt32(_Value1.Count);
         for (int i = 0; i < _Value1.Count; ++i)
         {
             _Value1[i].Write(writer);
         }
     }
     if (HasSign(2))
     {
         _Value2.Write(writer);
     }
     if (HasSign(3))
     {
         writer.WriteInt32((int)_Value3);
     }
     if (HasSign(4))
     {
         writer.WriteInt32(_Value4.Count);
         for (int i = 0; i < _Value4.Count; ++i)
         {
             writer.WriteInt32((int)_Value4[i]);
         }
     }
 }
 public override void Write(ScorpioWriter writer)
 {
     writer.WriteInt32(__Sign);
     if (HasSign(1))
     {
         _Value1.Write(writer);
     }
 }
 public override void Write(ScorpioWriter writer)
 {
     writer.WriteInt32(__Sign);
     if (HasSign(1))
     {
         writer.WriteInt32(_Value1);
     }
     if (HasSign(2))
     {
         writer.WriteString(_Value2);
     }
     if (HasSign(3))
     {
         writer.WriteInt32(_Value3.Count);
         for (int i = 0; i < _Value3.Count; ++i)
         {
             writer.WriteInt32(_Value3[i]);
         }
     }
 }
Exemple #4
0
 public override void Write(ScorpioWriter writer)
 {
     writer.WriteInt32(__Sign);
 }