:relfileprefix: ../../../
[#boost-urls-ipv6_address-2constructor-0a]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/ipv6_address.adoc[pass:[ipv6_address]]::ipv6_address


Construct from an array of bytes.


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv6_address.hpp#L125[boost/url/ipv6_address.hpp,window=blank_]>`

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

=== Description


This function constructs an address
from the array in `bytes`, which is
interpreted in big-endian.





=== Parameters

|===
| Name | Description 

| *bytes*
| 
The value to construct from.

|===




