Attributes
- Companion
- class
- Source
- Host.scala
- Graph
-
- Supertypes
- Self type
-
Ipv6Address.type
Members list
Value members
Concrete methods
Constructs an IPv6 address from a BigInt
, using the lower 128-bits.
Constructs an IPv6 address from a 16-element byte array.
Constructs an IPv6 address from a 16-element byte array. Returns Some
when array is exactly 16-bytes and None
otherwise.
Attributes
- Source
- Host.scala
Constructs an address from the specified 16 bytes.
Constructs an address from the specified 16 bytes.
Each byte is represented as an Int
to avoid having to manually call .toByte
on each value -- the toByte
call is done inside this function.
Attributes
- Source
- Host.scala
Parses an IPv6 address from a string in RFC4291 notation, returning None
if the string is not a valid IPv6 address.
Parses an IPv6 address from a string in RFC4291 notation, returning None
if the string is not a valid IPv6 address.
Attributes
- Source
- Host.scala
Computes a mask by setting the first / left-most n
bits high.
Computes a mask by setting the first / left-most n
bits high.
Attributes
- Example
-
scala> Ipv6Address.mask(32) res0: Ipv6Address = ffff:ffff::
- Source
- Host.scala
Inherited methods
Converts the supplied Inet6Address
to an Ipv6Address
.
Converts the supplied Inet6Address
to an Ipv6Address
.
Attributes
- Inherited from:
- Ipv6AddressCompanionPlatform (hidden)
- Source
- IpAddressPlatform.scala
Concrete fields
CIDR which defines the linked scope unicast address block.
Alias for ::1.
CIDR which defines the mapped IPv4 address block (https://datatracker.ietf.org/doc/html/rfc4291#section-2.5.5.2).
CIDR which defines the mapped IPv4 address block (https://datatracker.ietf.org/doc/html/rfc4291#section-2.5.5.2).
Attributes
- Source
- Host.scala
Last IP address in the IPv6 multicast range.
First IP address in the IPv6 multicast range.
Last IP address in the IPv6 source specific multicast range.
First IP address in the IPv6 source specific multicast range.
CIDR which defines the unique local address block.