[#DecodeDestination-01]
= DecodeDestination
:mrdocs:

`DecodeDestination` overloads

== Synopses

Declared in `&lt;key&lowbar;io&period;h&gt;`

Decode an address string into a destination&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CTxDestination.adoc[CTxDestination]
xref:DecodeDestination-02.adoc[DecodeDestination](std::string const& str);
----

[.small]#xref:DecodeDestination-02.adoc[_» more&period;&period;&period;_]#

Decode an address string into a destination, reporting parse errors&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CTxDestination.adoc[CTxDestination]
xref:DecodeDestination-0b.adoc[DecodeDestination](
    std::string const& str,
    std::string& error&lowbar;msg,
    std::vector&lt;int&gt;* error&lowbar;locations = nullptr);
----

[.small]#xref:DecodeDestination-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

The decoded destination, or a no&hyphen;address destination on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The address string to decode&period;
| *error&lowbar;msg*
| Receives a human&hyphen;readable error message on failure&period;
| *error&lowbar;locations*
| Optional&semi; receives the character positions of parse errors&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
