[#OnionToString]
= OnionToString
:mrdocs:

Encode a raw Tor v3 address as its human&hyphen;readable &period;onion string&period;

== Synopsis

Declared in `&lt;netaddress&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
OnionToString(std::span&lt;uint8&lowbar;t const&gt; addr);
----

== Return Value

The &period;onion string for the given address&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *addr*
| The raw Tor v3 address bytes to encode&period;
|===


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