Skip to content

Have a Stream implementation that does chunking.  #73

Description

@MikeStall

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions