public function toIPv6()
    {
        $myBytes = $this->getBytes();

        return IPv6::fromString('2002:'.sprintf('%02x', $myBytes[0]).sprintf('%02x', $myBytes[1]).':'.sprintf('%02x', $myBytes[2]).sprintf('%02x', $myBytes[3]).'::');
    }
public function toIPv6()
    {
        $myBytes = $this->getBytes();

        return IPv6::fromString('2002:'.sprintf('%02x', $myBytes[0]).sprintf('%02x', $myBytes[1]).':'.sprintf('%02x', $myBytes[2]).sprintf('%02x', $myBytes[3]).'::');
    }
public function toIPv6 ( ) { $ myBytes = $ this -> getBytes ( ) ; return IPv6 :: fromString ( '2002:' . sprintf ( '%02x' , $ myBytes [ 0 ] ) . sprintf ( '%02x' , $ myBytes [ 1 ] ) . ':' . sprintf ( '%02x' , $ myBytes [ 2 ] ) . sprintf ( '%02x' , $ myBytes [ 3 ] ) . '::' ) ; }
Create an IPv6 representation of this address.

@return \IPLib\Address\IPv6
Create an IPv6 representation of this address .