Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a Stream implementation that does chunking. #73

Open
MikeStall opened this issue Dec 20, 2017 · 1 comment
Open

Have a Stream implementation that does chunking. #73

MikeStall opened this issue Dec 20, 2017 · 1 comment

Comments

@MikeStall
Copy link

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?

@greg-db
Copy link
Contributor

greg-db commented Dec 21, 2017

Thanks for writing this up! I can't make any promises, but I'll send this along to the team to see if we can add this in the future. (Pull requests are also welcome.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants