static int getBufferSize(int bufferSize) {
        return getBufferSize(bufferSize, DEFAULT_BUFFER_SIZE, DEFAULT_MAX_BUFFER_SIZE);
    }
Gets buffer size. Same as
{@code getBufferSize(bufferSize, DEFAULT_BUFFER_SIZE, DEFAULT_MAX_BUFFER_SIZE)}.

@param bufferSize suggested buffer size, zero or negative number is treated
                  as {@link #DEFAULT_BUFFER_SIZE}
@return buffer size
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseDataConfig.java