示例#1
0
 public virtual T Deserialize(MessageBuffer messageBuffer)
 {
     return(messageBuffer.ReadJson <T>(Options));
 }
示例#2
0
 public virtual void Serialize(MessageBuffer messageBuffer, T obj)
 {
     messageBuffer.WriteJson(obj, Options);
 }