I have two IPv6 addresses in string format
1) ipv6addr1 is a global network.
2) ipv6addr2 is the current address
I need to find if ipv6addr2 is within the same subnet range of ipv6addr1.
I know I can convert addresses to bytes and then shift bits by prefix and compare but IPv6 addresses are 128 Bits and I cant think of breaking into two longs and then doing it.