This function uses a query buffer and returns its content.
tiledb_query_get_buffer_ptr(bufptr)
bufptr
An external pointer with a query buffer
An R object as resulting from the query