public void Serialize(BinaryWriter writer) { writer.Write((uint)(this.IsAsync ? 1 : 0)); SerializationHelpers.WriteStringSafe(writer, this.ServiceName); SerializationHelpers.WriteStringSafe(writer, this.MethodName); writer.Write((uint)this.ObjectId); SerializationHelpers.WriteBytesSafe(writer, this.CallData); }
public void Serialize(BinaryWriter writer) { writer.Write((int)this.Status); SerializationHelpers.WriteBytesSafe(writer, this.ResultData); }