:relfileprefix: ../../../
[#22653075907C625451181A13E082315D47BFC1DF]

= Function ipv6_address::to_bytes

pass:v,q[Return the address as bytes, in network byte order]


== Synopsis

Declared in header `</boost/url/ipv6_address.hpp#L175[boost/url/ipv6_address.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/ipv6_address/bytes_type.adoc[bytes_type]
to_bytes() const noexcept;
----

