public abstract void Deserialize(out MessageWithInt32 item);
 public abstract void Serialize(MessageWithInt32 item);
 public override void Serialize(MessageWithInt32 item)
 {
     Serializer.Serialize(_writer, item);
 }
 public override void Deserialize(out MessageWithInt32 item)
 {
     item = Serializer.Deserialize<MessageWithInt32>(_reader);
 }
Esempio n. 5
0
 public override void Serialize(MessageWithInt32 item)
 {
     Serializer.Serialize(Stream.Null, item);
 }
 public override void Serialize(MessageWithInt32 item)
 {
     _writer.WriteVarint(item.Value);
 }
 public override void Deserialize(out MessageWithInt32 item)
 {
     item = new MessageWithInt32() { Value = _reader.ReadInt32() };
 }