Allocate and populate a Query buffer for a given object of a given data type.
Source:R/Query.R
tiledb_query_create_buffer_ptr.Rd
This function allocates a query buffer for the given data object of the given type and assigns the object content to the buffer.