public static Inet4Address readInet4Address(ClickHouseInputStream input) throws IOException {
        return (Inet4Address) InetAddress.getByAddress(reverse(input.readBytes(4)));
    }
Read Inet4Address from given input stream.

@param input non-null input stream
@return Inet4Address
@throws IOException when failed to read value from input stream or reached
                    end of the stream
clickhouse-data/src/main/java/com/clickhouse/data/format/BinaryStreamUtils.java