private static int ipv4AddressToInt(byte[] address) {
        int val = 0;
        for (final byte a : address) {
            val <<= 8;
            val |= a & 0xFF;
        }
        return val;
    }
Returns the integer representation of the specified {@code address} which is a byte array of
an IPv4 address.
core/src/main/java/com/linecorp/armeria/common/util/Inet4AddressBlock.java