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