I find create stream using file path.(mongoc_stream_file_new_for_path)
But i want to use buffer.
To use mongoc_gridfs_bucket_upload_from_stream, I need to stream.
I have void *buffer and buffercount.
How can i create stream using buffer?
I find create stream using file path.(mongoc_stream_file_new_for_path)
But i want to use buffer.
To use mongoc_gridfs_bucket_upload_from_stream, I need to stream.
I have void *buffer and buffercount.
How can i create stream using buffer?