Skip to content

Have a Stream implementation that does chunking.  #73

Open

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

  1. greg-db commented on Dec 21, 2017

    @greg-db
    Contributor

    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

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