public static ClickHouseInputStream of(InputStream input, int bufferSize) {
        return of(input, ClickHouseDataConfig.getBufferSize(bufferSize), null,
                ClickHouseDataConfig.DEFAULT_READ_COMPRESS_LEVEL, null);
    }
Wraps the given input stream.

@param input      input stream
@param bufferSize buffer size which is always greater than zero(usually
                  4096 or larger)
@return wrapped input, or the same input if it's instance of
        {@link ClickHouseInputStream}
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseInputStream.java