Beispiel #1
0
 protected byte[] MessagePackSerialize <T3, T4>(MessagePack <T4> pack, ISerializer serializer)
     where T3 : MessagePack <T4>, new()
 => serializer.Serialize(pack.MapTo <T3, T4>());
Beispiel #2
0
 public byte[] MessagePackSerialize(MessagePack pack, ISerializer serializer) => serializer.Serialize(pack.MapTo <T2>());