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