Beispiel #1
0
 public static object Deserialize(byte[] bytes, System.Type targetType)
 {
     return(ProtoBufUtil.Deserialize(bytes, targetType));
 }
Beispiel #2
0
 public static T Deserialize <T>(byte[] bytes) where T : IMessage <T>, new()
 {
     return(ProtoBufUtil.Deserialize <T>(bytes));
 }