Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public void Deserialize(BinaryReader reader)
 {
     this.Status     = (RpcStatus)reader.ReadInt32();
     this.ResultData = SerializationHelpers.ReadBytes(reader);
 }