Example #1
0
 public abstract void Serialize(ref MessagePackWriter writer, T value);
Example #2
0
 void IMessagePackFormatter.Serialize(ref MessagePackWriter writer, object value)
 {
     Serialize(ref writer, (T)value);
 }
 public override void Serialize(ref MessagePackWriter writer, T value)
 {
     writer.Position += Formatter.Serialize(ref writer.Buffer, writer.Position, value, Resolver);
 }