示例#1
0
 object DeCode(byte[] packet)
 {
     return(MsgCoder.ParseFrom(packet));
 }
示例#2
0
 byte[] EnCode(object message)
 {
     return(MsgCoder.ToByteArray(message));
 }