コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="data"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public object Deserialize(byte[] data, Type type)
 {
     return(ProtoBufUtils.Deserialize(data, type));
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public byte[] Serialize(object obj)
 {
     return(ProtoBufUtils.Serialize(obj));
 }