public virtual string Encode(object dataInstance) { string rawString = ProtoBufferWrap.Encode(GetProToString(), GetMessageName(), dataInstance); return(rawString); }
public virtual object Decode(string data) { object _object = ProtoBufferWrap.Decode(GetProToString(), GetMessageName(), data); return(_object); }
public virtual string Encode() { string rawString = ProtoBufferWrap.Encode(GetProToString(), GetMessageName(), this); return(rawString); }