I want to be able to open a writable Stream and not worry about chunking operations. The stream's Write() method would chunk as needed. A caller can wrap it in a BufferedStream() to handle buffering.
For example, Azure Storage Blob does this with https://docs.microsoft.com/en-us/dotnet/api/microsoft.windowsazure.storage.blob.cloudblockblob.openwrite?view=azure-dotnet
I wrote an implementation of such a stream here:
https://github.com/Azure/azure-functions-dropbox-extension/blob/master/WebJobs.DropboxExtension/ChunkUploadStream.cs
(this is being used for Azure Functions / Dropbox integration)
Can this stream implementation be included in the Dropbox.net SDK?
I want to be able to open a writable Stream and not worry about chunking operations. The stream's Write() method would chunk as needed. A caller can wrap it in a BufferedStream() to handle buffering.
For example, Azure Storage Blob does this with https://docs.microsoft.com/en-us/dotnet/api/microsoft.windowsazure.storage.blob.cloudblockblob.openwrite?view=azure-dotnet
I wrote an implementation of such a stream here:
https://github.com/Azure/azure-functions-dropbox-extension/blob/master/WebJobs.DropboxExtension/ChunkUploadStream.cs
(this is being used for Azure Functions / Dropbox integration)
Can this stream implementation be included in the Dropbox.net SDK?