[#boost-urls-ipv6_address-to_bytes]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/ipv6_address.adoc[ipv6&lowbar;address]::to&lowbar;bytes
:relfileprefix: ../../../
:mrdocs:

Return the address as bytes, in network byte order

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv6_address.hpp#L180[boost&sol;url&sol;ipv6&lowbar;address&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/ipv6_address/bytes_type.adoc[bytes&lowbar;type]
to&lowbar;bytes() const noexcept;
----

== Return Value

The address as an array of bytes&period;


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