예제 #1
0
 public abstract void Deserialize(out MessageWithInt32 item);
예제 #2
0
 public abstract void Serialize(MessageWithInt32 item);
예제 #3
0
 public override void Serialize(MessageWithInt32 item)
 {
     Serializer.Serialize(_writer, item);
 }
예제 #4
0
 public override void Deserialize(out MessageWithInt32 item)
 {
     item = Serializer.Deserialize<MessageWithInt32>(_reader);
 }
예제 #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() };
 }