func WriteArgs(call *tchannel.OutboundCall, arg2, arg3 []byte) ([]byte, []byte, *tchannel.OutboundCallResponse, error) {
	if err := tchannel.NewArgWriter(call.Arg2Writer()).Write(arg2); err != nil {
		return nil, nil, nil, err
	}

	if err := tchannel.NewArgWriter(call.Arg3Writer()).Write(arg3); err != nil {
		return nil, nil, nil, err
	}

	resp := call.Response()
	var respArg2 []byte
	if err := tchannel.NewArgReader(resp.Arg2Reader()).Read(&respArg2); err != nil {
		return nil, nil, nil, err
	}

	var respArg3 []byte
	if err := tchannel.NewArgReader(resp.Arg3Reader()).Read(&respArg3); err != nil {
		return nil, nil, nil, err
	}

	return respArg2, respArg3, resp, nil
}
func WriteArgs(call *tchannel.OutboundCall, arg2, arg3 []byte) ([]byte, []byte, *tchannel.OutboundCallResponse, error) {
	if err := tchannel.NewArgWriter(call.Arg2Writer()).Write(arg2); err != nil {
		return nil, nil, nil, err
	}

	if err := tchannel.NewArgWriter(call.Arg3Writer()).Write(arg3); err != nil {
		return nil, nil, nil, err
	}

	resp := call.Response()
	var respArg2 []byte
	if err := tchannel.NewArgReader(resp.Arg2Reader()).Read(&respArg2); err != nil {
		return nil, nil, nil, err
	}

	var respArg3 []byte
	if err := tchannel.NewArgReader(resp.Arg3Reader()).Read(&respArg3); err != nil {
		return nil, nil, nil, err
	}

	return respArg2, respArg3, resp, nil
}
func WriteArgs ( call * tchannel . OutboundCall , arg2 , arg3 [ ] byte ) ( [ ] byte , [ ] byte , * tchannel . OutboundCallResponse , error ) { if err := tchannel . NewArgWriter ( call . Arg2Writer ( ) ) . Write ( arg2 ) ; err != nil { return nil , nil , nil , err } if err := tchannel . NewArgWriter ( call . Arg3Writer ( ) ) . Write ( arg3 ) ; err != nil { return nil , nil , nil , err } resp := call . Response ( ) var respArg2 [ ] byte if err := tchannel . NewArgReader ( resp . Arg2Reader ( ) ) . Read ( & respArg2 ) ; err != nil { return nil , nil , nil , err } var respArg3 [ ] byte if err := tchannel . NewArgReader ( resp . Arg3Reader ( ) ) . Read ( & respArg3 ) ; err != nil { return nil , nil , nil , err } return respArg2 , respArg3 , resp , nil }
// WriteArgs writes the given arguments to the call, and returns the response args.
WriteArgs writes the given arguments to the call and returns the response args .