예제 #1
0
파일: RpcCall.cs 프로젝트: apkbox/closetrpc
 public void Deserialize(BinaryReader reader)
 {
     this.IsAsync     = (reader.ReadInt32() & 1) != 0;
     this.ServiceName = reader.ReadString();
     this.MethodName  = reader.ReadString();
     this.ObjectId    = reader.ReadUInt32();
     this.CallData    = SerializationHelpers.ReadBytes(reader);
 }
예제 #2
0
 public void Deserialize(BinaryReader reader)
 {
     this.Status     = (RpcStatus)reader.ReadInt32();
     this.ResultData = SerializationHelpers.ReadBytes(reader);
 }