InetAddress function ( byte [ ] arg0 ) { try { return InetAddress . getByAddress ( arg0 ) ; } catch ( UnknownHostException loc0 ) { throw new AssertionError ( loc0 ) ; } }
convert a byte array into an inetaddress . inetaddress #getbyaddress is documented as throwing a checkedexception `` if ip address is of illegal length . '' we replace it with an unchecked exception , for use by callers who already know that addr is an array of length 4 or 16 . concode_field_sep int IPV6_PART_COUNT concode_elem_sep int IPV4_PART_COUNT concode_field_sep byte[] ipStringToBytes concode_elem_sep byte[] textToNumericFormatV6 concode_elem_sep String toUriString concode_elem_sep String toAddrString concode_elem_sep byte[] textToNumericFormatV4 concode_elem_sep String convertDottedQuadToHex concode_elem_sep short parseHextet concode_elem_sep String hextetsToIPv6String concode_elem_sep InetAddress forString concode_elem_sep boolean isInetAddress concode_elem_sep void compressLongestRunOfZeroes concode_elem_sep byte parseOctet