public static ClickHouseInputStream of(InputStream input, int bufferSize, Runnable postCloseAction) {
        return of(input, bufferSize, ClickHouseCompression.NONE, ClickHouseDataConfig.DEFAULT_READ_COMPRESS_LEVEL,
                postCloseAction);
    }
Wraps the given input stream.

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