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