public static boolean isInRangeV6 ( byte [ ] network , byte [ ] subnet , byte [ ] ipAddress ) { if ( network . length != 16 || subnet . length != 16 || ipAddress . length != 16 ) return false ; return compareByteValues ( network , subnet , ipAddress ) ; }
Checks whether ipAddress is in IPV6 network with specified subnet